]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
tests: Pin pseries-2.7 tests to the version 7.0
authorNarayana Murty N <nnmlinux@linux.ibm.com>
Tue, 13 May 2025 07:43:22 +0000 (03:43 -0400)
committerJán Tomko <jtomko@redhat.com>
Thu, 22 May 2025 13:23:22 +0000 (15:23 +0200)
Support for the pseries-2.7 machine type in QEMU was officially removed in
version 9.2 with qemu commit 445d3facffe8 ("ppc/spapr: remove deprecated
machine pseries-2.7"). Instead of removing related tests, they are now pinned
to the latest available capabilities version 7.0.0 to ensure continued
functionality where applicable.

Signed-off-by: Narayana Murty N <nnmlinux@linux.ibm.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/qemuxmlconfdata/ppc64-default-cpu-kvm-pseries-2.7.ppc64-7.0.0.args [moved from tests/qemuxmlconfdata/ppc64-default-cpu-kvm-pseries-2.7.ppc64-latest.args with 100% similarity]
tests/qemuxmlconfdata/ppc64-default-cpu-kvm-pseries-2.7.ppc64-7.0.0.xml [moved from tests/qemuxmlconfdata/ppc64-default-cpu-kvm-pseries-2.7.ppc64-latest.xml with 100% similarity]
tests/qemuxmlconfdata/ppc64-default-cpu-tcg-pseries-2.7.ppc64-7.0.0.args [moved from tests/qemuxmlconfdata/ppc64-default-cpu-tcg-pseries-2.7.ppc64-latest.args with 100% similarity]
tests/qemuxmlconfdata/ppc64-default-cpu-tcg-pseries-2.7.ppc64-7.0.0.xml [moved from tests/qemuxmlconfdata/ppc64-default-cpu-tcg-pseries-2.7.ppc64-latest.xml with 100% similarity]
tests/qemuxmlconftest.c

index 7fe51ba4f81ca8a349f5d7e402812e299b9545ba..7bf2679441c4eb7ab646bb60e6eb082da617195d 100644 (file)
@@ -2903,8 +2903,8 @@ mymain(void)
 
     DO_TEST_CAPS_ARCH_LATEST("aarch64-default-cpu-kvm-virt-4.2", "aarch64");
     DO_TEST_CAPS_ARCH_LATEST("aarch64-default-cpu-tcg-virt-4.2", "aarch64");
-    DO_TEST_CAPS_ARCH_LATEST("ppc64-default-cpu-kvm-pseries-2.7", "ppc64");
-    DO_TEST_CAPS_ARCH_LATEST("ppc64-default-cpu-tcg-pseries-2.7", "ppc64");
+    DO_TEST_CAPS_ARCH_VER("ppc64-default-cpu-kvm-pseries-2.7", "ppc64", "7.0.0");
+    DO_TEST_CAPS_ARCH_VER("ppc64-default-cpu-tcg-pseries-2.7", "ppc64", "7.0.0");
     DO_TEST_CAPS_ARCH_LATEST("ppc64-default-cpu-kvm-pseries-3.1", "ppc64");
     DO_TEST_CAPS_ARCH_LATEST("ppc64-default-cpu-tcg-pseries-3.1", "ppc64");
     DO_TEST_CAPS_ARCH_LATEST("ppc64-default-cpu-kvm-pseries-4.2", "ppc64");