mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-07 05:25:25 +00:00
239a6f6954
As demonstrated by the qemuxml2xmltest DO_TEST_CAPS_LATEST data based on the 'x86-kvm-32-on-64' test case the post parse CPU selection code which fills in the CPU into the definition does not have exactly the same logic as we used to have when the cpu model was picked when formatting the commandline. Change the qemuxml2argv test to use DO_TEST_CAPS_LATEST too as it doesn't really make sense to test this on fake data. In addition to 'latest' versions, this also adds second invocation locked to qemu-4.1.0 which demonstrates the old behaviour. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
33 lines
1.1 KiB
Plaintext
33 lines
1.1 KiB
Plaintext
LC_ALL=C \
|
|
PATH=/bin \
|
|
HOME=/tmp/lib/domain--1-kvm \
|
|
USER=test \
|
|
LOGNAME=test \
|
|
XDG_DATA_HOME=/tmp/lib/domain--1-kvm/.local/share \
|
|
XDG_CACHE_HOME=/tmp/lib/domain--1-kvm/.cache \
|
|
XDG_CONFIG_HOME=/tmp/lib/domain--1-kvm/.config \
|
|
/usr/bin/qemu-system-x86_64 \
|
|
-name guest=kvm,debug-threads=on \
|
|
-S \
|
|
-object '{"qom-type":"secret","id":"masterKey0","format":"raw","file":"/tmp/lib/domain--1-kvm/master-key.aes"}' \
|
|
-machine pc-i440fx-6.2,usb=off,dump-guest-core=off,memory-backend=pc.ram \
|
|
-accel kvm \
|
|
-cpu qemu64 \
|
|
-m 4096 \
|
|
-object '{"qom-type":"memory-backend-ram","id":"pc.ram","size":4294967296}' \
|
|
-overcommit mem-lock=off \
|
|
-smp 1,sockets=1,cores=1,threads=1 \
|
|
-uuid d091ea82-29e6-2e34-3005-f02617b36e87 \
|
|
-display none \
|
|
-no-user-config \
|
|
-nodefaults \
|
|
-chardev socket,id=charmonitor,fd=1729,server=on,wait=off \
|
|
-mon chardev=charmonitor,id=monitor,mode=control \
|
|
-rtc base=utc \
|
|
-no-shutdown \
|
|
-no-acpi \
|
|
-boot strict=on \
|
|
-audiodev '{"id":"audio1","driver":"none"}' \
|
|
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
|
|
-msg timestamp=on
|