]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemuxml2argvtest: Limit 'disk-network-sheepdog' testcase to qemu-6.0.0
authorPeter Krempa <pkrempa@redhat.com>
Mon, 17 May 2021 08:38:25 +0000 (10:38 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 19 May 2021 08:19:47 +0000 (10:19 +0200)
QEMU is dropping sheepdog support in 6.1 so we need to limit the test
case to the latest version supporting sheepdog as it won't be described
by the QMP schema any more.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
tests/qemuxml2argvdata/disk-network-sheepdog.x86_64-6.0.0.args [moved from tests/qemuxml2argvdata/disk-network-sheepdog.x86_64-latest.args with 95% similarity]
tests/qemuxml2argvtest.c

similarity index 95%
rename from tests/qemuxml2argvdata/disk-network-sheepdog.x86_64-latest.args
rename to tests/qemuxml2argvdata/disk-network-sheepdog.x86_64-6.0.0.args
index a0c663229c7251b39bb272107db6e47c12742f70..078ad6be099f68f98bf1ab15055c017654e531f0 100644 (file)
@@ -10,7 +10,7 @@ XDG_CONFIG_HOME=/tmp/lib/domain--1-QEMUGuest1/.config \
 -name guest=QEMUGuest1,debug-threads=on \
 -S \
 -object '{"qom-type":"secret","id":"masterKey0","format":"raw","file":"/tmp/lib/domain--1-QEMUGuest1/master-key.aes"}' \
--machine pc,accel=tcg,usb=off,dump-guest-core=off,memory-backend=pc.ram \
+-machine pc-i440fx-6.0,accel=tcg,usb=off,dump-guest-core=off,memory-backend=pc.ram \
 -cpu qemu64 \
 -m 214 \
 -object '{"qom-type":"memory-backend-ram","id":"pc.ram","size":224395264}' \
index d5e59fe47461be7037a59b0116771c55cdcfd067..25b0c81f21ea71b98cf557cbdf6ea91f4d5d00fa 100644 (file)
@@ -1395,7 +1395,7 @@ mymain(void)
     DO_TEST_FAILURE("disk-network-rbd-no-colon", NONE);
     DO_TEST("disk-network-sheepdog", NONE);
     DO_TEST_CAPS_VER("disk-network-sheepdog", "2.12.0");
-    DO_TEST_CAPS_LATEST("disk-network-sheepdog");
+    DO_TEST_CAPS_VER("disk-network-sheepdog", "6.0.0");
     DO_TEST("disk-network-source-auth", NONE);
     DO_TEST_CAPS_VER("disk-network-source-auth", "2.12.0");
     DO_TEST_CAPS_LATEST("disk-network-source-auth");