mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-01 17:35:17 +00:00
qemuxml2argvtest: Make 'qemu-ns' test case more stable
The test was showing that the 'blockdev' capability is properly added although we didn't detect it yet. Unfortunately this test can't be carried over once we bump minimum qemu version to qemu-4.2. Make the test case future-proof by removing the qemu-4.0.0 version which would become pointless and use only already deprecated capability flags so that the test output does not change. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
5177143117
commit
061224892c
@ -1,38 +0,0 @@
|
||||
LC_ALL=C \
|
||||
PATH=/bin \
|
||||
HOME=/tmp/lib/domain--1-QEMUGuest1 \
|
||||
USER=test \
|
||||
LOGNAME=test \
|
||||
XDG_DATA_HOME=/tmp/lib/domain--1-QEMUGuest1/.local/share \
|
||||
XDG_CACHE_HOME=/tmp/lib/domain--1-QEMUGuest1/.cache \
|
||||
XDG_CONFIG_HOME=/tmp/lib/domain--1-QEMUGuest1/.config \
|
||||
QEMU_AUDIO_DRV=none \
|
||||
NS=ns \
|
||||
BAR='' \
|
||||
/usr/bin/qemu-system-x86_64 \
|
||||
-name guest=QEMUGuest1,debug-threads=on \
|
||||
-S \
|
||||
-object secret,id=masterKey0,format=raw,file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
|
||||
-machine pc-i440fx-4.0,usb=off,dump-guest-core=off \
|
||||
-accel tcg \
|
||||
-m 214 \
|
||||
-overcommit mem-lock=off \
|
||||
-smp 1,sockets=1,cores=1,threads=1 \
|
||||
-uuid c7a5fdbd-edaf-9455-926a-d65c16db1809 \
|
||||
-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 \
|
||||
-device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 \
|
||||
-blockdev '{"driver":"host_device","filename":"/dev/HostVG/QEMUGuest1","node-name":"libvirt-1-storage","auto-read-only":true,"discard":"unmap"}' \
|
||||
-blockdev '{"node-name":"libvirt-1-format","read-only":false,"driver":"raw","file":"libvirt-1-storage"}' \
|
||||
-device ide-hd,bus=ide.0,unit=0,drive=libvirt-1-format,id=ua-disk,bootindex=1,prop1=propval1,prop2=-321,prop3=123,prop4=on,prop5=off \
|
||||
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x2 \
|
||||
-unknown parameter \
|
||||
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
|
||||
-msg timestamp=on
|
@ -30,7 +30,6 @@
|
||||
</qemu:commandline>
|
||||
<qemu:capabilities>
|
||||
<qemu:add capability="vnc-colon"/>
|
||||
<qemu:add capability="blockdev"/>
|
||||
<qemu:del capability="name"/>
|
||||
</qemu:capabilities>
|
||||
<qemu:override>
|
||||
|
@ -2036,7 +2036,6 @@ mymain(void)
|
||||
QEMU_CAPS_LAST,
|
||||
ARG_END);
|
||||
|
||||
DO_TEST_CAPS_VER("qemu-ns", "4.0.0");
|
||||
DO_TEST_CAPS_LATEST("qemu-ns");
|
||||
DO_TEST_NOCAPS("qemu-ns-no-env");
|
||||
DO_TEST_NOCAPS("qemu-ns-alt");
|
||||
|
@ -46,7 +46,6 @@
|
||||
</qemu:commandline>
|
||||
<qemu:capabilities>
|
||||
<qemu:add capability='vnc-colon'/>
|
||||
<qemu:add capability='blockdev'/>
|
||||
<qemu:del capability='name'/>
|
||||
</qemu:capabilities>
|
||||
<qemu:override>
|
||||
|
Loading…
x
Reference in New Issue
Block a user