From 71c425f6000c8867bfa994da31b47a53076db005 Mon Sep 17 00:00:00 2001 From: Jiri Denemark Date: Wed, 1 Jun 2016 17:52:53 +0200 Subject: [PATCH] tests: Add CPU detection test for Intel Core2 Quad Q9500 Signed-off-by: Jiri Denemark --- tests/cputest.c | 1 + .../x86-cpuid-Core2-Q9500-guest.xml | 22 ++++++++++++++ .../x86-cpuid-Core2-Q9500-host.xml | 22 ++++++++++++++ tests/cputestdata/x86-cpuid-Core2-Q9500.xml | 30 +++++++++++++++++++ 4 files changed, 75 insertions(+) create mode 100644 tests/cputestdata/x86-cpuid-Core2-Q9500-guest.xml create mode 100644 tests/cputestdata/x86-cpuid-Core2-Q9500-host.xml create mode 100644 tests/cputestdata/x86-cpuid-Core2-Q9500.xml diff --git a/tests/cputest.c b/tests/cputest.c index d58f15d1e7..801a4c04ff 100644 --- a/tests/cputest.c +++ b/tests/cputest.c @@ -859,6 +859,7 @@ mymain(void) DO_TEST_CPUID("x86", "Core-i7-4600U", true); DO_TEST_CPUID("x86", "Core-i7-5600U", true); DO_TEST_CPUID("x86", "Core2-E6850", true); + DO_TEST_CPUID("x86", "Core2-Q9500", false); #if WITH_QEMU && WITH_YAJL qemuTestDriverFree(&driver); diff --git a/tests/cputestdata/x86-cpuid-Core2-Q9500-guest.xml b/tests/cputestdata/x86-cpuid-Core2-Q9500-guest.xml new file mode 100644 index 0000000000..37feefa9c2 --- /dev/null +++ b/tests/cputestdata/x86-cpuid-Core2-Q9500-guest.xml @@ -0,0 +1,22 @@ + + x86_64 + Penryn + Intel + + + + + + + + + + + + + + + + + + diff --git a/tests/cputestdata/x86-cpuid-Core2-Q9500-host.xml b/tests/cputestdata/x86-cpuid-Core2-Q9500-host.xml new file mode 100644 index 0000000000..4dc25588d5 --- /dev/null +++ b/tests/cputestdata/x86-cpuid-Core2-Q9500-host.xml @@ -0,0 +1,22 @@ + + x86_64 + Penryn + Intel + + + + + + + + + + + + + + + + + + diff --git a/tests/cputestdata/x86-cpuid-Core2-Q9500.xml b/tests/cputestdata/x86-cpuid-Core2-Q9500.xml new file mode 100644 index 0000000000..985263b215 --- /dev/null +++ b/tests/cputestdata/x86-cpuid-Core2-Q9500.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- GitLab