[PATCH 04/17] qemuxml2agvtest: Retire tests based on qemu-3.0

Peter Krempa pkrempa at redhat.com
Tue Feb 15 13:47:47 UTC 2022


Upcoming patches will raise the minimum required qemu version to 3.1.

Signed-off-by: Peter Krempa <pkrempa at redhat.com>
---
 .../cpu-host-model.x86_64-3.0.0.args          | 36 -------------------
 .../mlock-off.x86_64-3.0.0.args               | 31 ----------------
 .../mlock-on.x86_64-3.0.0.args                | 31 ----------------
 tests/qemuxml2argvtest.c                      |  3 --
 4 files changed, 101 deletions(-)
 delete mode 100644 tests/qemuxml2argvdata/cpu-host-model.x86_64-3.0.0.args
 delete mode 100644 tests/qemuxml2argvdata/mlock-off.x86_64-3.0.0.args
 delete mode 100644 tests/qemuxml2argvdata/mlock-on.x86_64-3.0.0.args

 [snipped]

diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c
index 50140f11d2..f1168f7ea1 100644
--- a/tests/qemuxml2argvtest.c
+++ b/tests/qemuxml2argvtest.c
@@ -2031,7 +2031,6 @@ mymain(void)

     /* host-model cpu expansion depends on the cpu reported by qemu and thus
      * we invoke it for all real capability dumps we have */
-    DO_TEST_CAPS_VER("cpu-host-model", "3.0.0");
     DO_TEST_CAPS_VER("cpu-host-model", "3.1.0");
     DO_TEST_CAPS_VER("cpu-host-model", "4.0.0");
     DO_TEST_CAPS_VER("cpu-host-model", "4.1.0");
@@ -2817,8 +2816,6 @@ mymain(void)
                         QEMU_CAPS_VIRTIO_SCSI,
                         QEMU_CAPS_DEVICE_VHOST_SCSI);

-    DO_TEST_CAPS_VER("mlock-on", "3.0.0");
-    DO_TEST_CAPS_VER("mlock-off", "3.0.0");
     DO_TEST_CAPS_LATEST("mlock-on");
     DO_TEST_CAPS_LATEST("mlock-off");

-- 
2.34.1




More information about the libvir-list mailing list