]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemuxml2argvtest: Rename 'cpu-host-model' tests according to emulation type
authorPeter Krempa <pkrempa@redhat.com>
Thu, 9 Nov 2023 14:15:39 +0000 (15:15 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 10 Nov 2023 09:04:04 +0000 (10:04 +0100)
The cpu-host-model.xml test case uses 'kvm' whereas the
fallback/nofallback cases use tcg in the definition. Rename them
accordingly so that the complement cases can be added later.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
40 files changed:
tests/qemuxml2argvdata/cpu-host-model-fallback-tcg.x86_64-4.2.0.args [moved from tests/qemuxml2argvdata/cpu-host-model-fallback.x86_64-4.2.0.args with 100% similarity]
tests/qemuxml2argvdata/cpu-host-model-fallback-tcg.x86_64-5.0.0.args [moved from tests/qemuxml2argvdata/cpu-host-model-fallback.x86_64-5.0.0.args with 100% similarity]
tests/qemuxml2argvdata/cpu-host-model-fallback-tcg.x86_64-5.1.0.args [moved from tests/qemuxml2argvdata/cpu-host-model-fallback.x86_64-5.1.0.args with 100% similarity]
tests/qemuxml2argvdata/cpu-host-model-fallback-tcg.x86_64-5.2.0.args [moved from tests/qemuxml2argvdata/cpu-host-model-fallback.x86_64-5.2.0.args with 100% similarity]
tests/qemuxml2argvdata/cpu-host-model-fallback-tcg.x86_64-6.0.0.args [moved from tests/qemuxml2argvdata/cpu-host-model-fallback.x86_64-6.0.0.args with 100% similarity]
tests/qemuxml2argvdata/cpu-host-model-fallback-tcg.x86_64-6.1.0.args [moved from tests/qemuxml2argvdata/cpu-host-model-fallback.x86_64-6.1.0.args with 100% similarity]
tests/qemuxml2argvdata/cpu-host-model-fallback-tcg.x86_64-6.2.0.args [moved from tests/qemuxml2argvdata/cpu-host-model-fallback.x86_64-6.2.0.args with 100% similarity]
tests/qemuxml2argvdata/cpu-host-model-fallback-tcg.x86_64-7.0.0.args [moved from tests/qemuxml2argvdata/cpu-host-model-fallback.x86_64-7.0.0.args with 100% similarity]
tests/qemuxml2argvdata/cpu-host-model-fallback-tcg.x86_64-7.1.0.args [moved from tests/qemuxml2argvdata/cpu-host-model-fallback.x86_64-7.1.0.args with 100% similarity]
tests/qemuxml2argvdata/cpu-host-model-fallback-tcg.x86_64-7.2.0.args [moved from tests/qemuxml2argvdata/cpu-host-model-fallback.x86_64-7.2.0.args with 100% similarity]
tests/qemuxml2argvdata/cpu-host-model-fallback-tcg.x86_64-8.0.0.args [moved from tests/qemuxml2argvdata/cpu-host-model-fallback.x86_64-8.0.0.args with 100% similarity]
tests/qemuxml2argvdata/cpu-host-model-fallback-tcg.x86_64-latest.args [moved from tests/qemuxml2argvdata/cpu-host-model-fallback.x86_64-latest.args with 100% similarity]
tests/qemuxml2argvdata/cpu-host-model-fallback-tcg.xml [moved from tests/qemuxml2argvdata/cpu-host-model-fallback.xml with 100% similarity]
tests/qemuxml2argvdata/cpu-host-model-kvm.x86_64-4.2.0.args [moved from tests/qemuxml2argvdata/cpu-host-model.x86_64-4.2.0.args with 100% similarity]
tests/qemuxml2argvdata/cpu-host-model-kvm.x86_64-5.0.0.args [moved from tests/qemuxml2argvdata/cpu-host-model.x86_64-5.0.0.args with 100% similarity]
tests/qemuxml2argvdata/cpu-host-model-kvm.x86_64-5.1.0.args [moved from tests/qemuxml2argvdata/cpu-host-model.x86_64-5.1.0.args with 100% similarity]
tests/qemuxml2argvdata/cpu-host-model-kvm.x86_64-5.2.0.args [moved from tests/qemuxml2argvdata/cpu-host-model.x86_64-5.2.0.args with 100% similarity]
tests/qemuxml2argvdata/cpu-host-model-kvm.x86_64-6.0.0.args [moved from tests/qemuxml2argvdata/cpu-host-model.x86_64-6.0.0.args with 100% similarity]
tests/qemuxml2argvdata/cpu-host-model-kvm.x86_64-6.1.0.args [moved from tests/qemuxml2argvdata/cpu-host-model.x86_64-6.1.0.args with 100% similarity]
tests/qemuxml2argvdata/cpu-host-model-kvm.x86_64-6.2.0.args [moved from tests/qemuxml2argvdata/cpu-host-model.x86_64-6.2.0.args with 100% similarity]
tests/qemuxml2argvdata/cpu-host-model-kvm.x86_64-7.0.0.args [moved from tests/qemuxml2argvdata/cpu-host-model.x86_64-7.0.0.args with 100% similarity]
tests/qemuxml2argvdata/cpu-host-model-kvm.x86_64-7.1.0.args [moved from tests/qemuxml2argvdata/cpu-host-model.x86_64-7.1.0.args with 100% similarity]
tests/qemuxml2argvdata/cpu-host-model-kvm.x86_64-7.2.0.args [moved from tests/qemuxml2argvdata/cpu-host-model.x86_64-7.2.0.args with 100% similarity]
tests/qemuxml2argvdata/cpu-host-model-kvm.x86_64-8.0.0.args [moved from tests/qemuxml2argvdata/cpu-host-model.x86_64-8.0.0.args with 100% similarity]
tests/qemuxml2argvdata/cpu-host-model-kvm.x86_64-latest.args [moved from tests/qemuxml2argvdata/cpu-host-model.x86_64-latest.args with 100% similarity]
tests/qemuxml2argvdata/cpu-host-model-kvm.xml [moved from tests/qemuxml2argvdata/cpu-host-model.xml with 100% similarity]
tests/qemuxml2argvdata/cpu-host-model-nofallback-tcg.x86_64-4.2.0.args [moved from tests/qemuxml2argvdata/cpu-host-model-nofallback.x86_64-4.2.0.args with 100% similarity]
tests/qemuxml2argvdata/cpu-host-model-nofallback-tcg.x86_64-5.0.0.args [moved from tests/qemuxml2argvdata/cpu-host-model-nofallback.x86_64-5.0.0.args with 100% similarity]
tests/qemuxml2argvdata/cpu-host-model-nofallback-tcg.x86_64-5.1.0.args [moved from tests/qemuxml2argvdata/cpu-host-model-nofallback.x86_64-5.1.0.args with 100% similarity]
tests/qemuxml2argvdata/cpu-host-model-nofallback-tcg.x86_64-5.2.0.args [moved from tests/qemuxml2argvdata/cpu-host-model-nofallback.x86_64-5.2.0.args with 100% similarity]
tests/qemuxml2argvdata/cpu-host-model-nofallback-tcg.x86_64-6.0.0.args [moved from tests/qemuxml2argvdata/cpu-host-model-nofallback.x86_64-6.0.0.args with 100% similarity]
tests/qemuxml2argvdata/cpu-host-model-nofallback-tcg.x86_64-6.1.0.args [moved from tests/qemuxml2argvdata/cpu-host-model-nofallback.x86_64-6.1.0.args with 100% similarity]
tests/qemuxml2argvdata/cpu-host-model-nofallback-tcg.x86_64-6.2.0.args [moved from tests/qemuxml2argvdata/cpu-host-model-nofallback.x86_64-6.2.0.args with 100% similarity]
tests/qemuxml2argvdata/cpu-host-model-nofallback-tcg.x86_64-7.0.0.args [moved from tests/qemuxml2argvdata/cpu-host-model-nofallback.x86_64-7.0.0.args with 100% similarity]
tests/qemuxml2argvdata/cpu-host-model-nofallback-tcg.x86_64-7.1.0.args [moved from tests/qemuxml2argvdata/cpu-host-model-nofallback.x86_64-7.1.0.args with 100% similarity]
tests/qemuxml2argvdata/cpu-host-model-nofallback-tcg.x86_64-7.2.0.args [moved from tests/qemuxml2argvdata/cpu-host-model-nofallback.x86_64-7.2.0.args with 100% similarity]
tests/qemuxml2argvdata/cpu-host-model-nofallback-tcg.x86_64-8.0.0.args [moved from tests/qemuxml2argvdata/cpu-host-model-nofallback.x86_64-8.0.0.args with 100% similarity]
tests/qemuxml2argvdata/cpu-host-model-nofallback-tcg.x86_64-latest.args [moved from tests/qemuxml2argvdata/cpu-host-model-nofallback.x86_64-latest.args with 100% similarity]
tests/qemuxml2argvdata/cpu-host-model-nofallback-tcg.xml [moved from tests/qemuxml2argvdata/cpu-host-model-nofallback.xml with 100% similarity]
tests/qemuxml2argvtest.c

index 4fda68a4cee43b72dc40c6142f76d84d7abdf999..5a524b37be9c40918b4f37e72054c951f809a592 100644 (file)
@@ -1629,47 +1629,47 @@ 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", "4.2.0");
-    DO_TEST_CAPS_VER("cpu-host-model", "5.0.0");
-    DO_TEST_CAPS_VER("cpu-host-model", "5.1.0");
-    DO_TEST_CAPS_VER("cpu-host-model", "5.2.0");
-    DO_TEST_CAPS_VER("cpu-host-model", "6.0.0");
-    DO_TEST_CAPS_VER("cpu-host-model", "6.1.0");
-    DO_TEST_CAPS_VER("cpu-host-model", "6.2.0");
-    DO_TEST_CAPS_VER("cpu-host-model", "7.0.0");
-    DO_TEST_CAPS_VER("cpu-host-model", "7.1.0");
-    DO_TEST_CAPS_VER("cpu-host-model", "7.2.0");
-    DO_TEST_CAPS_VER("cpu-host-model", "8.0.0");
-
-    DO_TEST_CAPS_VER("cpu-host-model-fallback", "4.2.0");
-    DO_TEST_CAPS_VER("cpu-host-model-fallback", "5.0.0");
-    DO_TEST_CAPS_VER("cpu-host-model-fallback", "5.1.0");
-    DO_TEST_CAPS_VER("cpu-host-model-fallback", "5.2.0");
-    DO_TEST_CAPS_VER("cpu-host-model-fallback", "6.0.0");
-    DO_TEST_CAPS_VER("cpu-host-model-fallback", "6.1.0");
-    DO_TEST_CAPS_VER("cpu-host-model-fallback", "6.2.0");
-    DO_TEST_CAPS_VER("cpu-host-model-fallback", "7.0.0");
-    DO_TEST_CAPS_VER("cpu-host-model-fallback", "7.1.0");
-    DO_TEST_CAPS_VER("cpu-host-model-fallback", "7.2.0");
-    DO_TEST_CAPS_VER("cpu-host-model-fallback", "8.0.0");
-
-    DO_TEST_CAPS_VER("cpu-host-model-nofallback", "4.2.0");
-    DO_TEST_CAPS_VER("cpu-host-model-nofallback", "5.0.0");
-    DO_TEST_CAPS_VER("cpu-host-model-nofallback", "5.1.0");
-    DO_TEST_CAPS_VER("cpu-host-model-nofallback", "5.2.0");
-    DO_TEST_CAPS_VER("cpu-host-model-nofallback", "6.0.0");
-    DO_TEST_CAPS_VER("cpu-host-model-nofallback", "6.1.0");
-    DO_TEST_CAPS_VER("cpu-host-model-nofallback", "6.2.0");
-    DO_TEST_CAPS_VER("cpu-host-model-nofallback", "7.0.0");
-    DO_TEST_CAPS_VER("cpu-host-model-nofallback", "7.1.0");
-    DO_TEST_CAPS_VER("cpu-host-model-nofallback", "7.2.0");
-    DO_TEST_CAPS_VER("cpu-host-model-nofallback", "8.0.0");
+    DO_TEST_CAPS_VER("cpu-host-model-kvm", "4.2.0");
+    DO_TEST_CAPS_VER("cpu-host-model-kvm", "5.0.0");
+    DO_TEST_CAPS_VER("cpu-host-model-kvm", "5.1.0");
+    DO_TEST_CAPS_VER("cpu-host-model-kvm", "5.2.0");
+    DO_TEST_CAPS_VER("cpu-host-model-kvm", "6.0.0");
+    DO_TEST_CAPS_VER("cpu-host-model-kvm", "6.1.0");
+    DO_TEST_CAPS_VER("cpu-host-model-kvm", "6.2.0");
+    DO_TEST_CAPS_VER("cpu-host-model-kvm", "7.0.0");
+    DO_TEST_CAPS_VER("cpu-host-model-kvm", "7.1.0");
+    DO_TEST_CAPS_VER("cpu-host-model-kvm", "7.2.0");
+    DO_TEST_CAPS_VER("cpu-host-model-kvm", "8.0.0");
+
+    DO_TEST_CAPS_VER("cpu-host-model-fallback-tcg", "4.2.0");
+    DO_TEST_CAPS_VER("cpu-host-model-fallback-tcg", "5.0.0");
+    DO_TEST_CAPS_VER("cpu-host-model-fallback-tcg", "5.1.0");
+    DO_TEST_CAPS_VER("cpu-host-model-fallback-tcg", "5.2.0");
+    DO_TEST_CAPS_VER("cpu-host-model-fallback-tcg", "6.0.0");
+    DO_TEST_CAPS_VER("cpu-host-model-fallback-tcg", "6.1.0");
+    DO_TEST_CAPS_VER("cpu-host-model-fallback-tcg", "6.2.0");
+    DO_TEST_CAPS_VER("cpu-host-model-fallback-tcg", "7.0.0");
+    DO_TEST_CAPS_VER("cpu-host-model-fallback-tcg", "7.1.0");
+    DO_TEST_CAPS_VER("cpu-host-model-fallback-tcg", "7.2.0");
+    DO_TEST_CAPS_VER("cpu-host-model-fallback-tcg", "8.0.0");
+
+    DO_TEST_CAPS_VER("cpu-host-model-nofallback-tcg", "4.2.0");
+    DO_TEST_CAPS_VER("cpu-host-model-nofallback-tcg", "5.0.0");
+    DO_TEST_CAPS_VER("cpu-host-model-nofallback-tcg", "5.1.0");
+    DO_TEST_CAPS_VER("cpu-host-model-nofallback-tcg", "5.2.0");
+    DO_TEST_CAPS_VER("cpu-host-model-nofallback-tcg", "6.0.0");
+    DO_TEST_CAPS_VER("cpu-host-model-nofallback-tcg", "6.1.0");
+    DO_TEST_CAPS_VER("cpu-host-model-nofallback-tcg", "6.2.0");
+    DO_TEST_CAPS_VER("cpu-host-model-nofallback-tcg", "7.0.0");
+    DO_TEST_CAPS_VER("cpu-host-model-nofallback-tcg", "7.1.0");
+    DO_TEST_CAPS_VER("cpu-host-model-nofallback-tcg", "7.2.0");
+    DO_TEST_CAPS_VER("cpu-host-model-nofallback-tcg", "8.0.0");
 
     /* For this specific test we accept the increased likelihood of changes
      * if qemu updates the CPU model */
-    DO_TEST_CAPS_LATEST("cpu-host-model");
-    DO_TEST_CAPS_LATEST("cpu-host-model-fallback");
-    DO_TEST_CAPS_LATEST("cpu-host-model-nofallback");
+    DO_TEST_CAPS_LATEST("cpu-host-model-kvm");
+    DO_TEST_CAPS_LATEST("cpu-host-model-fallback-tcg");
+    DO_TEST_CAPS_LATEST("cpu-host-model-nofallback-tcg");
 
     /* this test case uses 'cpu="host-model"', run it with Haswell host cpu to prevent test case churn */
     DO_TEST_CAPS_ARCH_LATEST_FULL("cpu-host-model-vendor", "x86_64", ARG_CAPS_HOST_CPU_MODEL, QEMU_CPU_DEF_HASWELL);