diff --git a/tests/cputest.c b/tests/cputest.c index 2cae2616329d6b71aa8ba20d24489dea74d7d5c7..79e613360e7c769699fd2d53d35c72c1694976a3 100644 --- a/tests/cputest.c +++ b/tests/cputest.c @@ -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); diff --git a/tests/cputestdata/cpu-parse.sh b/tests/cputestdata/cpu-parse.sh index 96ff1074e0bfe0b8a2e7423b1ef2b56f33fef261..3a2bfa0491096040c84689c0674fc83d6d688c6d 100755 --- a/tests/cputestdata/cpu-parse.sh +++ b/tests/cputestdata/cpu-parse.sh @@ -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" diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-E3-1245-disabled.xml b/tests/cputestdata/x86_64-cpuid-Xeon-E3-1245-v5-disabled.xml similarity index 100% rename from tests/cputestdata/x86_64-cpuid-Xeon-E3-1245-disabled.xml rename to tests/cputestdata/x86_64-cpuid-Xeon-E3-1245-v5-disabled.xml diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-E3-1245-enabled.xml b/tests/cputestdata/x86_64-cpuid-Xeon-E3-1245-v5-enabled.xml similarity index 100% rename from tests/cputestdata/x86_64-cpuid-Xeon-E3-1245-enabled.xml rename to tests/cputestdata/x86_64-cpuid-Xeon-E3-1245-v5-enabled.xml diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-E3-1245-guest.xml b/tests/cputestdata/x86_64-cpuid-Xeon-E3-1245-v5-guest.xml similarity index 100% rename from tests/cputestdata/x86_64-cpuid-Xeon-E3-1245-guest.xml rename to tests/cputestdata/x86_64-cpuid-Xeon-E3-1245-v5-guest.xml diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-E3-1245-host.xml b/tests/cputestdata/x86_64-cpuid-Xeon-E3-1245-v5-host.xml similarity index 100% rename from tests/cputestdata/x86_64-cpuid-Xeon-E3-1245-host.xml rename to tests/cputestdata/x86_64-cpuid-Xeon-E3-1245-v5-host.xml diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-E3-1245-json.xml b/tests/cputestdata/x86_64-cpuid-Xeon-E3-1245-v5-json.xml similarity index 100% rename from tests/cputestdata/x86_64-cpuid-Xeon-E3-1245-json.xml rename to tests/cputestdata/x86_64-cpuid-Xeon-E3-1245-v5-json.xml diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-E3-1245.json b/tests/cputestdata/x86_64-cpuid-Xeon-E3-1245-v5.json similarity index 100% rename from tests/cputestdata/x86_64-cpuid-Xeon-E3-1245.json rename to tests/cputestdata/x86_64-cpuid-Xeon-E3-1245-v5.json diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-E3-1245.xml b/tests/cputestdata/x86_64-cpuid-Xeon-E3-1245-v5.xml similarity index 100% rename from tests/cputestdata/x86_64-cpuid-Xeon-E3-1245.xml rename to tests/cputestdata/x86_64-cpuid-Xeon-E3-1245-v5.xml diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-E5-2630-disabled.xml b/tests/cputestdata/x86_64-cpuid-Xeon-E5-2630-v3-disabled.xml similarity index 100% rename from tests/cputestdata/x86_64-cpuid-Xeon-E5-2630-disabled.xml rename to tests/cputestdata/x86_64-cpuid-Xeon-E5-2630-v3-disabled.xml diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-E5-2630-enabled.xml b/tests/cputestdata/x86_64-cpuid-Xeon-E5-2630-v3-enabled.xml similarity index 100% rename from tests/cputestdata/x86_64-cpuid-Xeon-E5-2630-enabled.xml rename to tests/cputestdata/x86_64-cpuid-Xeon-E5-2630-v3-enabled.xml diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-E5-2630-guest.xml b/tests/cputestdata/x86_64-cpuid-Xeon-E5-2630-v3-guest.xml similarity index 100% rename from tests/cputestdata/x86_64-cpuid-Xeon-E5-2630-guest.xml rename to tests/cputestdata/x86_64-cpuid-Xeon-E5-2630-v3-guest.xml diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-E5-2630-host.xml b/tests/cputestdata/x86_64-cpuid-Xeon-E5-2630-v3-host.xml similarity index 100% rename from tests/cputestdata/x86_64-cpuid-Xeon-E5-2630-host.xml rename to tests/cputestdata/x86_64-cpuid-Xeon-E5-2630-v3-host.xml diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-E5-2630-json.xml b/tests/cputestdata/x86_64-cpuid-Xeon-E5-2630-v3-json.xml similarity index 100% rename from tests/cputestdata/x86_64-cpuid-Xeon-E5-2630-json.xml rename to tests/cputestdata/x86_64-cpuid-Xeon-E5-2630-v3-json.xml diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-E5-2630.json b/tests/cputestdata/x86_64-cpuid-Xeon-E5-2630-v3.json similarity index 100% rename from tests/cputestdata/x86_64-cpuid-Xeon-E5-2630.json rename to tests/cputestdata/x86_64-cpuid-Xeon-E5-2630-v3.json diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-E5-2630.xml b/tests/cputestdata/x86_64-cpuid-Xeon-E5-2630-v3.xml similarity index 100% rename from tests/cputestdata/x86_64-cpuid-Xeon-E5-2630.xml rename to tests/cputestdata/x86_64-cpuid-Xeon-E5-2630-v3.xml diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-disabled.xml b/tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-v3-disabled.xml similarity index 100% rename from tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-disabled.xml rename to tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-v3-disabled.xml diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-enabled.xml b/tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-v3-enabled.xml similarity index 100% rename from tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-enabled.xml rename to tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-v3-enabled.xml diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-guest.xml b/tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-v3-guest.xml similarity index 100% rename from tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-guest.xml rename to tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-v3-guest.xml diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-host.xml b/tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-v3-host.xml similarity index 100% rename from tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-host.xml rename to tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-v3-host.xml diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-json.xml b/tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-v3-json.xml similarity index 100% rename from tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-json.xml rename to tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-v3-json.xml diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-E5-2650.json b/tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-v3.json similarity index 100% rename from tests/cputestdata/x86_64-cpuid-Xeon-E5-2650.json rename to tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-v3.json diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-E5-2650.xml b/tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-v3.xml similarity index 100% rename from tests/cputestdata/x86_64-cpuid-Xeon-E5-2650.xml rename to tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-v3.xml diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-E7-8890-disabled.xml b/tests/cputestdata/x86_64-cpuid-Xeon-E7-8890-v3-disabled.xml similarity index 100% rename from tests/cputestdata/x86_64-cpuid-Xeon-E7-8890-disabled.xml rename to tests/cputestdata/x86_64-cpuid-Xeon-E7-8890-v3-disabled.xml diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-E7-8890-enabled.xml b/tests/cputestdata/x86_64-cpuid-Xeon-E7-8890-v3-enabled.xml similarity index 100% rename from tests/cputestdata/x86_64-cpuid-Xeon-E7-8890-enabled.xml rename to tests/cputestdata/x86_64-cpuid-Xeon-E7-8890-v3-enabled.xml diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-E7-8890-guest.xml b/tests/cputestdata/x86_64-cpuid-Xeon-E7-8890-v3-guest.xml similarity index 100% rename from tests/cputestdata/x86_64-cpuid-Xeon-E7-8890-guest.xml rename to tests/cputestdata/x86_64-cpuid-Xeon-E7-8890-v3-guest.xml diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-E7-8890-host.xml b/tests/cputestdata/x86_64-cpuid-Xeon-E7-8890-v3-host.xml similarity index 100% rename from tests/cputestdata/x86_64-cpuid-Xeon-E7-8890-host.xml rename to tests/cputestdata/x86_64-cpuid-Xeon-E7-8890-v3-host.xml diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-E7-8890-json.xml b/tests/cputestdata/x86_64-cpuid-Xeon-E7-8890-v3-json.xml similarity index 100% rename from tests/cputestdata/x86_64-cpuid-Xeon-E7-8890-json.xml rename to tests/cputestdata/x86_64-cpuid-Xeon-E7-8890-v3-json.xml diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-E7-8890.json b/tests/cputestdata/x86_64-cpuid-Xeon-E7-8890-v3.json similarity index 100% rename from tests/cputestdata/x86_64-cpuid-Xeon-E7-8890.json rename to tests/cputestdata/x86_64-cpuid-Xeon-E7-8890-v3.json diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-E7-8890.xml b/tests/cputestdata/x86_64-cpuid-Xeon-E7-8890-v3.xml similarity index 100% rename from tests/cputestdata/x86_64-cpuid-Xeon-E7-8890.xml rename to tests/cputestdata/x86_64-cpuid-Xeon-E7-8890-v3.xml