From f3ebce14667df388fffc510d58e7e5dfba2df38d Mon Sep 17 00:00:00 2001 From: Jiri Denemark Date: Wed, 1 Jun 2016 17:52:54 +0200 Subject: [PATCH] tests: Add CPU detection test for Intel Pentium P6100 Signed-off-by: Jiri Denemark --- tests/cputest.c | 1 + .../x86-cpuid-Pentium-P6100-guest.xml | 23 ++++++++++++++ .../x86-cpuid-Pentium-P6100-host.xml | 23 ++++++++++++++ tests/cputestdata/x86-cpuid-Pentium-P6100.xml | 30 +++++++++++++++++++ 4 files changed, 77 insertions(+) create mode 100644 tests/cputestdata/x86-cpuid-Pentium-P6100-guest.xml create mode 100644 tests/cputestdata/x86-cpuid-Pentium-P6100-host.xml create mode 100644 tests/cputestdata/x86-cpuid-Pentium-P6100.xml diff --git a/tests/cputest.c b/tests/cputest.c index cc316dae46..f85bd253e4 100644 --- a/tests/cputest.c +++ b/tests/cputest.c @@ -865,6 +865,7 @@ mymain(void) DO_TEST_CPUID("x86", "Opteron-2350", true); DO_TEST_CPUID("x86", "Opteron-6234", true); DO_TEST_CPUID("x86", "Opteron-6282", false); + DO_TEST_CPUID("x86", "Pentium-P6100", false); #if WITH_QEMU && WITH_YAJL qemuTestDriverFree(&driver); diff --git a/tests/cputestdata/x86-cpuid-Pentium-P6100-guest.xml b/tests/cputestdata/x86-cpuid-Pentium-P6100-guest.xml new file mode 100644 index 0000000000..5ef6e24087 --- /dev/null +++ b/tests/cputestdata/x86-cpuid-Pentium-P6100-guest.xml @@ -0,0 +1,23 @@ + + x86_64 + core2duo + Intel + + + + + + + + + + + + + + + + + + + diff --git a/tests/cputestdata/x86-cpuid-Pentium-P6100-host.xml b/tests/cputestdata/x86-cpuid-Pentium-P6100-host.xml new file mode 100644 index 0000000000..8ae24938b9 --- /dev/null +++ b/tests/cputestdata/x86-cpuid-Pentium-P6100-host.xml @@ -0,0 +1,23 @@ + + x86_64 + core2duo + Intel + + + + + + + + + + + + + + + + + + + diff --git a/tests/cputestdata/x86-cpuid-Pentium-P6100.xml b/tests/cputestdata/x86-cpuid-Pentium-P6100.xml new file mode 100644 index 0000000000..0d63060258 --- /dev/null +++ b/tests/cputestdata/x86-cpuid-Pentium-P6100.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- GitLab