]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
cputest: Do not drop v[0-9] from CPU names
authorJiri Denemark <jdenemar@redhat.com>
Thu, 2 Nov 2017 13:43:37 +0000 (14:43 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Tue, 7 Nov 2017 22:40:47 +0000 (23:40 +0100)
Version is a significant part of some Xeon CPUs.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
30 files changed:
tests/cputest.c
tests/cputestdata/cpu-parse.sh
tests/cputestdata/x86_64-cpuid-Xeon-E3-1245-v5-disabled.xml [moved from tests/cputestdata/x86_64-cpuid-Xeon-E3-1245-disabled.xml with 100% similarity]
tests/cputestdata/x86_64-cpuid-Xeon-E3-1245-v5-enabled.xml [moved from tests/cputestdata/x86_64-cpuid-Xeon-E3-1245-enabled.xml with 100% similarity]
tests/cputestdata/x86_64-cpuid-Xeon-E3-1245-v5-guest.xml [moved from tests/cputestdata/x86_64-cpuid-Xeon-E3-1245-guest.xml with 100% similarity]
tests/cputestdata/x86_64-cpuid-Xeon-E3-1245-v5-host.xml [moved from tests/cputestdata/x86_64-cpuid-Xeon-E3-1245-host.xml with 100% similarity]
tests/cputestdata/x86_64-cpuid-Xeon-E3-1245-v5-json.xml [moved from tests/cputestdata/x86_64-cpuid-Xeon-E3-1245-json.xml with 100% similarity]
tests/cputestdata/x86_64-cpuid-Xeon-E3-1245-v5.json [moved from tests/cputestdata/x86_64-cpuid-Xeon-E3-1245.json with 100% similarity]
tests/cputestdata/x86_64-cpuid-Xeon-E3-1245-v5.xml [moved from tests/cputestdata/x86_64-cpuid-Xeon-E3-1245.xml with 100% similarity]
tests/cputestdata/x86_64-cpuid-Xeon-E5-2630-v3-disabled.xml [moved from tests/cputestdata/x86_64-cpuid-Xeon-E5-2630-disabled.xml with 100% similarity]
tests/cputestdata/x86_64-cpuid-Xeon-E5-2630-v3-enabled.xml [moved from tests/cputestdata/x86_64-cpuid-Xeon-E5-2630-enabled.xml with 100% similarity]
tests/cputestdata/x86_64-cpuid-Xeon-E5-2630-v3-guest.xml [moved from tests/cputestdata/x86_64-cpuid-Xeon-E5-2630-guest.xml with 100% similarity]
tests/cputestdata/x86_64-cpuid-Xeon-E5-2630-v3-host.xml [moved from tests/cputestdata/x86_64-cpuid-Xeon-E5-2630-host.xml with 100% similarity]
tests/cputestdata/x86_64-cpuid-Xeon-E5-2630-v3-json.xml [moved from tests/cputestdata/x86_64-cpuid-Xeon-E5-2630-json.xml with 100% similarity]
tests/cputestdata/x86_64-cpuid-Xeon-E5-2630-v3.json [moved from tests/cputestdata/x86_64-cpuid-Xeon-E5-2630.json with 100% similarity]
tests/cputestdata/x86_64-cpuid-Xeon-E5-2630-v3.xml [moved from tests/cputestdata/x86_64-cpuid-Xeon-E5-2630.xml with 100% similarity]
tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-v3-disabled.xml [moved from tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-disabled.xml with 100% similarity]
tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-v3-enabled.xml [moved from tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-enabled.xml with 100% similarity]
tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-v3-guest.xml [moved from tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-guest.xml with 100% similarity]
tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-v3-host.xml [moved from tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-host.xml with 100% similarity]
tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-v3-json.xml [moved from tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-json.xml with 100% similarity]
tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-v3.json [moved from tests/cputestdata/x86_64-cpuid-Xeon-E5-2650.json with 100% similarity]
tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-v3.xml [moved from tests/cputestdata/x86_64-cpuid-Xeon-E5-2650.xml with 100% similarity]
tests/cputestdata/x86_64-cpuid-Xeon-E7-8890-v3-disabled.xml [moved from tests/cputestdata/x86_64-cpuid-Xeon-E7-8890-disabled.xml with 100% similarity]
tests/cputestdata/x86_64-cpuid-Xeon-E7-8890-v3-enabled.xml [moved from tests/cputestdata/x86_64-cpuid-Xeon-E7-8890-enabled.xml with 100% similarity]
tests/cputestdata/x86_64-cpuid-Xeon-E7-8890-v3-guest.xml [moved from tests/cputestdata/x86_64-cpuid-Xeon-E7-8890-guest.xml with 100% similarity]
tests/cputestdata/x86_64-cpuid-Xeon-E7-8890-v3-host.xml [moved from tests/cputestdata/x86_64-cpuid-Xeon-E7-8890-host.xml with 100% similarity]
tests/cputestdata/x86_64-cpuid-Xeon-E7-8890-v3-json.xml [moved from tests/cputestdata/x86_64-cpuid-Xeon-E7-8890-json.xml with 100% similarity]
tests/cputestdata/x86_64-cpuid-Xeon-E7-8890-v3.json [moved from tests/cputestdata/x86_64-cpuid-Xeon-E7-8890.json with 100% similarity]
tests/cputestdata/x86_64-cpuid-Xeon-E7-8890-v3.xml [moved from tests/cputestdata/x86_64-cpuid-Xeon-E7-8890.xml with 100% similarity]

index 2cae2616329d6b71aa8ba20d24489dea74d7d5c7..79e613360e7c769699fd2d53d35c72c1694976a3 100644 (file)
@@ -1186,12 +1186,12 @@ mymain(void)
     DO_TEST_CPUID(VIR_ARCH_X86_64, "Phenom-B95", JSON_HOST);
     DO_TEST_CPUID(VIR_ARCH_X86_64, "Ryzen-7-1800X-Eight-Core", JSON_HOST);
     DO_TEST_CPUID(VIR_ARCH_X86_64, "Xeon-5110", JSON_NONE);
-    DO_TEST_CPUID(VIR_ARCH_X86_64, "Xeon-E3-1245", JSON_MODELS);
-    DO_TEST_CPUID(VIR_ARCH_X86_64, "Xeon-E5-2630", JSON_HOST);
-    DO_TEST_CPUID(VIR_ARCH_X86_64, "Xeon-E5-2650", JSON_HOST);
+    DO_TEST_CPUID(VIR_ARCH_X86_64, "Xeon-E3-1245-v5", JSON_MODELS);
+    DO_TEST_CPUID(VIR_ARCH_X86_64, "Xeon-E5-2630-v3", JSON_HOST);
+    DO_TEST_CPUID(VIR_ARCH_X86_64, "Xeon-E5-2650-v3", JSON_HOST);
     DO_TEST_CPUID(VIR_ARCH_X86_64, "Xeon-E7-4820", JSON_HOST);
     DO_TEST_CPUID(VIR_ARCH_X86_64, "Xeon-E7-4830", JSON_MODELS_REQUIRED);
-    DO_TEST_CPUID(VIR_ARCH_X86_64, "Xeon-E7-8890", JSON_MODELS);
+    DO_TEST_CPUID(VIR_ARCH_X86_64, "Xeon-E7-8890-v3", JSON_MODELS);
     DO_TEST_CPUID(VIR_ARCH_X86_64, "Xeon-Gold-6148", JSON_HOST);
     DO_TEST_CPUID(VIR_ARCH_X86_64, "Xeon-W3520", JSON_HOST);
     DO_TEST_CPUID(VIR_ARCH_X86_64, "Xeon-X5460", JSON_NONE);
index 96ff1074e0bfe0b8a2e7423b1ef2b56f33fef261..3a2bfa0491096040c84689c0674fc83d6d688c6d 100755 (executable)
@@ -16,7 +16,7 @@ fname=`sed -e 's/^ *//;
                s/ \(CPU\|Processor\)\>//;
                s/ @.*//;
                s/ APU .*//;
-               s/ \(v[0-9]\|SE\)$//;
+               s/ SE$//;
                s/ /-/g' <<<"$model"`
 fname="x86_64-cpuid-$fname"