render / rpms / libvirt

Forked from rpms/libvirt 10 months ago
Clone
c480ed
From cd7339269704e58b78c1033d46a336448256b4e7 Mon Sep 17 00:00:00 2001
c480ed
Message-Id: <cd7339269704e58b78c1033d46a336448256b4e7@dist-git>
e90370
From: Jiri Denemark <jdenemar@redhat.com>
e90370
Date: Fri, 5 Apr 2019 11:19:30 +0200
e90370
Subject: [PATCH] cputest: Add data for Intel(R) Xeon(R) CPU E3-1225 v5
e90370
MIME-Version: 1.0
e90370
Content-Type: text/plain; charset=UTF-8
e90370
Content-Transfer-Encoding: 8bit
e90370
e90370
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
e90370
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
c480ed
(cherry picked from commit 5cd9db3ac11e88846cbcf95fad9f6fae9d880dee)
e90370
c480ed
CVE-2018-12126, CVE-2018-12127, CVE-2018-12130, CVE-2019-11091
e90370
e90370
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
e90370
---
e90370
 tests/cputest.c                               |   1 +
e90370
 .../x86_64-cpuid-Xeon-E3-1225-v5-disabled.xml |   7 +
e90370
 .../x86_64-cpuid-Xeon-E3-1225-v5-enabled.xml  |   8 +
e90370
 .../x86_64-cpuid-Xeon-E3-1225-v5-guest.xml    |  28 +
e90370
 .../x86_64-cpuid-Xeon-E3-1225-v5-host.xml     |  29 +
e90370
 .../x86_64-cpuid-Xeon-E3-1225-v5-json.xml     |  11 +
e90370
 .../x86_64-cpuid-Xeon-E3-1225-v5.json         | 652 ++++++++++++++++++
e90370
 .../x86_64-cpuid-Xeon-E3-1225-v5.sig          |   4 +
e90370
 .../x86_64-cpuid-Xeon-E3-1225-v5.xml          |  47 ++
e90370
 9 files changed, 787 insertions(+)
e90370
 create mode 100644 tests/cputestdata/x86_64-cpuid-Xeon-E3-1225-v5-disabled.xml
e90370
 create mode 100644 tests/cputestdata/x86_64-cpuid-Xeon-E3-1225-v5-enabled.xml
e90370
 create mode 100644 tests/cputestdata/x86_64-cpuid-Xeon-E3-1225-v5-guest.xml
e90370
 create mode 100644 tests/cputestdata/x86_64-cpuid-Xeon-E3-1225-v5-host.xml
e90370
 create mode 100644 tests/cputestdata/x86_64-cpuid-Xeon-E3-1225-v5-json.xml
e90370
 create mode 100644 tests/cputestdata/x86_64-cpuid-Xeon-E3-1225-v5.json
e90370
 create mode 100644 tests/cputestdata/x86_64-cpuid-Xeon-E3-1225-v5.sig
e90370
 create mode 100644 tests/cputestdata/x86_64-cpuid-Xeon-E3-1225-v5.xml
e90370
e90370
diff --git a/tests/cputest.c b/tests/cputest.c
e90370
index baf2b3c648..fbb2a86af8 100644
e90370
--- a/tests/cputest.c
e90370
+++ b/tests/cputest.c
e90370
@@ -1190,6 +1190,7 @@ mymain(void)
e90370
     DO_TEST_CPUID(VIR_ARCH_X86_64, "Phenom-B95", JSON_HOST);
e90370
     DO_TEST_CPUID(VIR_ARCH_X86_64, "Ryzen-7-1800X-Eight-Core", JSON_HOST);
e90370
     DO_TEST_CPUID(VIR_ARCH_X86_64, "Xeon-5110", JSON_NONE);
e90370
+    DO_TEST_CPUID(VIR_ARCH_X86_64, "Xeon-E3-1225-v5", JSON_MODELS);
e90370
     DO_TEST_CPUID(VIR_ARCH_X86_64, "Xeon-E3-1245-v5", JSON_MODELS);
e90370
     DO_TEST_CPUID(VIR_ARCH_X86_64, "Xeon-E5-2609-v3", JSON_MODELS);
e90370
     DO_TEST_CPUID(VIR_ARCH_X86_64, "Xeon-E5-2623-v4", JSON_MODELS);
e90370
diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-E3-1225-v5-disabled.xml b/tests/cputestdata/x86_64-cpuid-Xeon-E3-1225-v5-disabled.xml
e90370
new file mode 100644
e90370
index 0000000000..ce51903e53
e90370
--- /dev/null
e90370
+++ b/tests/cputestdata/x86_64-cpuid-Xeon-E3-1225-v5-disabled.xml
e90370
@@ -0,0 +1,7 @@
e90370
+
e90370
+<cpudata arch='x86'>
e90370
+  <cpuid eax_in='0x00000001' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x0800c1fc' edx='0xb0600000'/>
e90370
+  <cpuid eax_in='0x00000007' ecx_in='0x00' eax='0x00000000' ebx='0x02000000' ecx='0x00000000' edx='0x00000000'/>
e90370
+  <cpuid eax_in='0x0000000d' ecx_in='0x01' eax='0x00000008' ebx='0x00000000' ecx='0x00000000' edx='0x00000000'/>
e90370
+  <cpuid eax_in='0x80000007' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000100'/>
e90370
+</cpudata>
e90370
diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-E3-1225-v5-enabled.xml b/tests/cputestdata/x86_64-cpuid-Xeon-E3-1225-v5-enabled.xml
e90370
new file mode 100644
e90370
index 0000000000..0deca9fba6
e90370
--- /dev/null
e90370
+++ b/tests/cputestdata/x86_64-cpuid-Xeon-E3-1225-v5-enabled.xml
e90370
@@ -0,0 +1,8 @@
e90370
+
e90370
+<cpudata arch='x86'>
e90370
+  <cpuid eax_in='0x00000001' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0xf7fa3203' edx='0x0f8bfbff'/>
e90370
+  <cpuid eax_in='0x00000006' ecx_in='0x00' eax='0x00000004' ebx='0x00000000' ecx='0x00000000' edx='0x00000000'/>
e90370
+  <cpuid eax_in='0x00000007' ecx_in='0x00' eax='0x00000000' ebx='0x009c4fbb' ecx='0x00000000' edx='0x8c000000'/>
e90370
+  <cpuid eax_in='0x0000000d' ecx_in='0x01' eax='0x00000007' ebx='0x00000000' ecx='0x00000000' edx='0x00000000'/>
e90370
+  <cpuid eax_in='0x80000001' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000121' edx='0x2c100800'/>
e90370
+</cpudata>
e90370
diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-E3-1225-v5-guest.xml b/tests/cputestdata/x86_64-cpuid-Xeon-E3-1225-v5-guest.xml
e90370
new file mode 100644
e90370
index 0000000000..70a0fc3286
e90370
--- /dev/null
e90370
+++ b/tests/cputestdata/x86_64-cpuid-Xeon-E3-1225-v5-guest.xml
e90370
@@ -0,0 +1,28 @@
e90370
+<cpu mode='custom' match='exact'>
e90370
+  <model fallback='forbid'>Skylake-Client-IBRS</model>
e90370
+  <vendor>Intel</vendor>
e90370
+  <feature policy='require' name='ds'/>
e90370
+  <feature policy='require' name='acpi'/>
e90370
+  <feature policy='require' name='ss'/>
e90370
+  <feature policy='require' name='ht'/>
e90370
+  <feature policy='require' name='tm'/>
e90370
+  <feature policy='require' name='pbe'/>
e90370
+  <feature policy='require' name='dtes64'/>
e90370
+  <feature policy='require' name='monitor'/>
e90370
+  <feature policy='require' name='ds_cpl'/>
e90370
+  <feature policy='require' name='vmx'/>
e90370
+  <feature policy='require' name='smx'/>
e90370
+  <feature policy='require' name='est'/>
e90370
+  <feature policy='require' name='tm2'/>
e90370
+  <feature policy='require' name='xtpr'/>
e90370
+  <feature policy='require' name='pdcm'/>
e90370
+  <feature policy='require' name='osxsave'/>
e90370
+  <feature policy='require' name='tsc_adjust'/>
e90370
+  <feature policy='require' name='clflushopt'/>
e90370
+  <feature policy='require' name='intel-pt'/>
e90370
+  <feature policy='require' name='stibp'/>
e90370
+  <feature policy='require' name='ssbd'/>
e90370
+  <feature policy='require' name='xsaves'/>
e90370
+  <feature policy='require' name='pdpe1gb'/>
e90370
+  <feature policy='require' name='invtsc'/>
e90370
+</cpu>
e90370
diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-E3-1225-v5-host.xml b/tests/cputestdata/x86_64-cpuid-Xeon-E3-1225-v5-host.xml
e90370
new file mode 100644
e90370
index 0000000000..bbdfb6aa61
e90370
--- /dev/null
e90370
+++ b/tests/cputestdata/x86_64-cpuid-Xeon-E3-1225-v5-host.xml
e90370
@@ -0,0 +1,29 @@
e90370
+<cpu>
e90370
+  <arch>x86_64</arch>
e90370
+  <model>Skylake-Client-IBRS</model>
e90370
+  <vendor>Intel</vendor>
e90370
+  <feature name='ds'/>
e90370
+  <feature name='acpi'/>
e90370
+  <feature name='ss'/>
e90370
+  <feature name='ht'/>
e90370
+  <feature name='tm'/>
e90370
+  <feature name='pbe'/>
e90370
+  <feature name='dtes64'/>
e90370
+  <feature name='monitor'/>
e90370
+  <feature name='ds_cpl'/>
e90370
+  <feature name='vmx'/>
e90370
+  <feature name='smx'/>
e90370
+  <feature name='est'/>
e90370
+  <feature name='tm2'/>
e90370
+  <feature name='xtpr'/>
e90370
+  <feature name='pdcm'/>
e90370
+  <feature name='osxsave'/>
e90370
+  <feature name='tsc_adjust'/>
e90370
+  <feature name='clflushopt'/>
e90370
+  <feature name='intel-pt'/>
e90370
+  <feature name='stibp'/>
e90370
+  <feature name='ssbd'/>
e90370
+  <feature name='xsaves'/>
e90370
+  <feature name='pdpe1gb'/>
e90370
+  <feature name='invtsc'/>
e90370
+</cpu>
e90370
diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-E3-1225-v5-json.xml b/tests/cputestdata/x86_64-cpuid-Xeon-E3-1225-v5-json.xml
e90370
new file mode 100644
e90370
index 0000000000..1f321db273
e90370
--- /dev/null
e90370
+++ b/tests/cputestdata/x86_64-cpuid-Xeon-E3-1225-v5-json.xml
e90370
@@ -0,0 +1,11 @@
e90370
+<cpu mode='custom' match='exact'>
e90370
+  <model fallback='forbid'>Skylake-Client-IBRS</model>
e90370
+  <vendor>Intel</vendor>
e90370
+  <feature policy='require' name='ss'/>
e90370
+  <feature policy='require' name='hypervisor'/>
e90370
+  <feature policy='require' name='tsc_adjust'/>
e90370
+  <feature policy='require' name='clflushopt'/>
e90370
+  <feature policy='require' name='stibp'/>
e90370
+  <feature policy='require' name='ssbd'/>
e90370
+  <feature policy='require' name='pdpe1gb'/>
e90370
+</cpu>
e90370
diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-E3-1225-v5.json b/tests/cputestdata/x86_64-cpuid-Xeon-E3-1225-v5.json
e90370
new file mode 100644
e90370
index 0000000000..084747556b
e90370
--- /dev/null
e90370
+++ b/tests/cputestdata/x86_64-cpuid-Xeon-E3-1225-v5.json
e90370
@@ -0,0 +1,652 @@
e90370
+{
e90370
+  "return": {
e90370
+    "model": {
e90370
+      "name": "base",
e90370
+      "props": {
e90370
+        "phys-bits": 0,
e90370
+        "core-id": -1,
e90370
+        "xlevel": 2147483656,
e90370
+        "cmov": true,
e90370
+        "ia64": false,
e90370
+        "aes": true,
e90370
+        "mmx": true,
e90370
+        "rdpid": false,
e90370
+        "arat": true,
e90370
+        "gfni": false,
e90370
+        "pause-filter": false,
e90370
+        "xsavec": true,
e90370
+        "intel-pt": false,
e90370
+        "osxsave": false,
e90370
+        "hv-frequencies": false,
e90370
+        "tsc-frequency": 0,
e90370
+        "xd": true,
e90370
+        "hv-vendor-id": "",
e90370
+        "kvm-asyncpf": true,
e90370
+        "kvm_asyncpf": true,
e90370
+        "perfctr_core": false,
e90370
+        "perfctr-core": false,
e90370
+        "mpx": true,
e90370
+        "pbe": false,
e90370
+        "decodeassists": false,
e90370
+        "avx512cd": false,
e90370
+        "sse4_1": true,
e90370
+        "sse4.1": true,
e90370
+        "sse4-1": true,
e90370
+        "family": 6,
e90370
+        "legacy-cache": true,
e90370
+        "vmware-cpuid-freq": true,
e90370
+        "avx512f": false,
e90370
+        "msr": true,
e90370
+        "mce": true,
e90370
+        "mca": true,
e90370
+        "hv-runtime": false,
e90370
+        "xcrypt": false,
e90370
+        "thread-id": -1,
e90370
+        "min-level": 13,
e90370
+        "xgetbv1": true,
e90370
+        "cid": false,
e90370
+        "hv-relaxed": false,
e90370
+        "hv-crash": false,
e90370
+        "ds": false,
e90370
+        "fxsr": true,
e90370
+        "xsaveopt": true,
e90370
+        "xtpr": false,
e90370
+        "avx512vl": false,
e90370
+        "avx512-vpopcntdq": false,
e90370
+        "phe": false,
e90370
+        "extapic": false,
e90370
+        "3dnowprefetch": true,
e90370
+        "avx512vbmi2": false,
e90370
+        "cr8legacy": false,
e90370
+        "stibp": true,
e90370
+        "cpuid-0xb": true,
e90370
+        "xcrypt-en": false,
e90370
+        "kvm_pv_eoi": true,
e90370
+        "apic-id": 4294967295,
e90370
+        "pn": false,
e90370
+        "dca": false,
e90370
+        "vendor": "GenuineIntel",
e90370
+        "pku": false,
e90370
+        "smx": false,
e90370
+        "cmp_legacy": false,
e90370
+        "cmp-legacy": false,
e90370
+        "node-id": -1,
e90370
+        "avx512-4fmaps": false,
e90370
+        "vmcb_clean": false,
e90370
+        "vmcb-clean": false,
e90370
+        "3dnowext": false,
e90370
+        "hle": true,
e90370
+        "npt": false,
e90370
+        "memory": "/machine/unattached/system[0]",
e90370
+        "clwb": false,
e90370
+        "lbrv": false,
e90370
+        "adx": true,
e90370
+        "ss": true,
e90370
+        "pni": true,
e90370
+        "svm_lock": false,
e90370
+        "svm-lock": false,
e90370
+        "pfthreshold": false,
e90370
+        "smep": true,
e90370
+        "smap": true,
e90370
+        "x2apic": true,
e90370
+        "avx512vbmi": false,
e90370
+        "avx512vnni": false,
e90370
+        "hv-stimer": false,
e90370
+        "i64": true,
e90370
+        "flushbyasid": false,
e90370
+        "f16c": true,
e90370
+        "ace2-en": false,
e90370
+        "pat": true,
e90370
+        "pae": true,
e90370
+        "sse": true,
e90370
+        "phe-en": false,
e90370
+        "kvm_nopiodelay": true,
e90370
+        "kvm-nopiodelay": true,
e90370
+        "tm": false,
e90370
+        "kvmclock-stable-bit": true,
e90370
+        "hypervisor": true,
e90370
+        "socket-id": -1,
e90370
+        "pcommit": false,
e90370
+        "syscall": true,
e90370
+        "level": 13,
e90370
+        "avx512dq": false,
e90370
+        "svm": false,
e90370
+        "full-cpuid-auto-level": true,
e90370
+        "hv-reset": false,
e90370
+        "invtsc": false,
e90370
+        "sse3": true,
e90370
+        "sse2": true,
e90370
+        "ssbd": true,
e90370
+        "est": false,
e90370
+        "avx512ifma": false,
e90370
+        "tm2": false,
e90370
+        "kvm-pv-eoi": true,
e90370
+        "cx8": true,
e90370
+        "kvm_mmu": false,
e90370
+        "kvm-mmu": false,
e90370
+        "sse4_2": true,
e90370
+        "sse4.2": true,
e90370
+        "sse4-2": true,
e90370
+        "pge": true,
e90370
+        "fill-mtrr-mask": true,
e90370
+        "avx512bitalg": false,
e90370
+        "nodeid_msr": false,
e90370
+        "pdcm": false,
e90370
+        "movbe": true,
e90370
+        "model": 94,
e90370
+        "nrip_save": false,
e90370
+        "nrip-save": false,
e90370
+        "kvm_pv_unhalt": true,
e90370
+        "ssse3": true,
e90370
+        "sse4a": false,
e90370
+        "invpcid": true,
e90370
+        "pdpe1gb": true,
e90370
+        "tsc-deadline": true,
e90370
+        "fma": true,
e90370
+        "cx16": true,
e90370
+        "de": true,
e90370
+        "enforce": false,
e90370
+        "stepping": 3,
e90370
+        "xsave": true,
e90370
+        "clflush": true,
e90370
+        "skinit": false,
e90370
+        "tsc": true,
e90370
+        "tce": false,
e90370
+        "fpu": true,
e90370
+        "ibs": false,
e90370
+        "ds_cpl": false,
e90370
+        "ds-cpl": false,
e90370
+        "host-phys-bits": true,
e90370
+        "fma4": false,
e90370
+        "la57": false,
e90370
+        "osvw": false,
e90370
+        "check": true,
e90370
+        "hv-spinlocks": -1,
e90370
+        "pmu": false,
e90370
+        "pmm": false,
e90370
+        "apic": true,
e90370
+        "spec-ctrl": true,
e90370
+        "min-xlevel2": 0,
e90370
+        "tsc-adjust": true,
e90370
+        "tsc_adjust": true,
e90370
+        "kvm-steal-time": true,
e90370
+        "kvm_steal_time": true,
e90370
+        "kvmclock": true,
e90370
+        "l3-cache": true,
e90370
+        "lwp": false,
e90370
+        "ibpb": false,
e90370
+        "xop": false,
e90370
+        "avx": true,
e90370
+        "ospke": false,
e90370
+        "ace2": false,
e90370
+        "avx512bw": false,
e90370
+        "acpi": false,
e90370
+        "hv-vapic": false,
e90370
+        "fsgsbase": true,
e90370
+        "ht": false,
e90370
+        "nx": true,
e90370
+        "pclmulqdq": true,
e90370
+        "mmxext": false,
e90370
+        "vaes": false,
e90370
+        "popcnt": true,
e90370
+        "xsaves": false,
e90370
+        "tcg-cpuid": true,
e90370
+        "lm": true,
e90370
+        "umip": false,
e90370
+        "pse": true,
e90370
+        "avx2": true,
e90370
+        "sep": true,
e90370
+        "pclmuldq": true,
e90370
+        "virt-ssbd": false,
e90370
+        "x-hv-max-vps": -1,
e90370
+        "nodeid-msr": false,
e90370
+        "md-clear": true,
e90370
+        "kvm": true,
e90370
+        "misalignsse": false,
e90370
+        "min-xlevel": 2147483656,
e90370
+        "kvm-pv-unhalt": true,
e90370
+        "bmi2": true,
e90370
+        "bmi1": true,
e90370
+        "realized": false,
e90370
+        "tsc_scale": false,
e90370
+        "tsc-scale": false,
e90370
+        "topoext": false,
e90370
+        "hv-vpindex": false,
e90370
+        "xlevel2": 0,
e90370
+        "clflushopt": true,
e90370
+        "kvm-no-smi-migration": false,
e90370
+        "monitor": false,
e90370
+        "avx512er": false,
e90370
+        "pmm-en": false,
e90370
+        "pcid": true,
e90370
+        "3dnow": false,
e90370
+        "erms": true,
e90370
+        "lahf-lm": true,
e90370
+        "lahf_lm": true,
e90370
+        "vpclmulqdq": false,
e90370
+        "fxsr-opt": false,
e90370
+        "hv-synic": false,
e90370
+        "xstore": false,
e90370
+        "fxsr_opt": false,
e90370
+        "kvm-hint-dedicated": false,
e90370
+        "rtm": true,
e90370
+        "lmce": true,
e90370
+        "hv-time": false,
e90370
+        "perfctr-nb": false,
e90370
+        "perfctr_nb": false,
e90370
+        "ffxsr": false,
e90370
+        "rdrand": true,
e90370
+        "rdseed": true,
e90370
+        "avx512-4vnniw": false,
e90370
+        "vmx": false,
e90370
+        "vme": true,
e90370
+        "dtes64": false,
e90370
+        "mtrr": true,
e90370
+        "rdtscp": true,
e90370
+        "pse36": true,
e90370
+        "kvm-pv-tlb-flush": false,
e90370
+        "tbm": false,
e90370
+        "wdt": false,
e90370
+        "pause_filter": false,
e90370
+        "sha-ni": false,
e90370
+        "model-id": "Intel(R) Xeon(R) CPU E3-1225 v5 @ 3.30GHz",
e90370
+        "abm": true,
e90370
+        "avx512pf": false,
e90370
+        "xstore-en": false
e90370
+      }
e90370
+    }
e90370
+  },
e90370
+  "id": "model-expansion"
e90370
+}
e90370
+
e90370
+{
e90370
+  "return": [
e90370
+    {
e90370
+      "name": "max",
e90370
+      "typename": "max-x86_64-cpu",
e90370
+      "unavailable-features": [],
e90370
+      "static": false,
e90370
+      "migration-safe": false
e90370
+    },
e90370
+    {
e90370
+      "name": "host",
e90370
+      "typename": "host-x86_64-cpu",
e90370
+      "unavailable-features": [],
e90370
+      "static": false,
e90370
+      "migration-safe": false
e90370
+    },
e90370
+    {
e90370
+      "name": "base",
e90370
+      "typename": "base-x86_64-cpu",
e90370
+      "unavailable-features": [],
e90370
+      "static": true,
e90370
+      "migration-safe": true
e90370
+    },
e90370
+    {
e90370
+      "name": "qemu64",
e90370
+      "typename": "qemu64-x86_64-cpu",
e90370
+      "unavailable-features": [],
e90370
+      "static": false,
e90370
+      "migration-safe": true
e90370
+    },
e90370
+    {
e90370
+      "name": "qemu32",
e90370
+      "typename": "qemu32-x86_64-cpu",
e90370
+      "unavailable-features": [],
e90370
+      "static": false,
e90370
+      "migration-safe": true
e90370
+    },
e90370
+    {
e90370
+      "name": "phenom",
e90370
+      "typename": "phenom-x86_64-cpu",
e90370
+      "unavailable-features": [
e90370
+        "mmxext",
e90370
+        "fxsr-opt",
e90370
+        "3dnowext",
e90370
+        "3dnow",
e90370
+        "sse4a",
e90370
+        "npt"
e90370
+      ],
e90370
+      "static": false,
e90370
+      "migration-safe": true
e90370
+    },
e90370
+    {
e90370
+      "name": "pentium3",
e90370
+      "typename": "pentium3-x86_64-cpu",
e90370
+      "unavailable-features": [],
e90370
+      "static": false,
e90370
+      "migration-safe": true
e90370
+    },
e90370
+    {
e90370
+      "name": "pentium2",
e90370
+      "typename": "pentium2-x86_64-cpu",
e90370
+      "unavailable-features": [],
e90370
+      "static": false,
e90370
+      "migration-safe": true
e90370
+    },
e90370
+    {
e90370
+      "name": "pentium",
e90370
+      "typename": "pentium-x86_64-cpu",
e90370
+      "unavailable-features": [],
e90370
+      "static": false,
e90370
+      "migration-safe": true
e90370
+    },
e90370
+    {
e90370
+      "name": "n270",
e90370
+      "typename": "n270-x86_64-cpu",
e90370
+      "unavailable-features": [],
e90370
+      "static": false,
e90370
+      "migration-safe": true
e90370
+    },
e90370
+    {
e90370
+      "name": "kvm64",
e90370
+      "typename": "kvm64-x86_64-cpu",
e90370
+      "unavailable-features": [],
e90370
+      "static": false,
e90370
+      "migration-safe": true
e90370
+    },
e90370
+    {
e90370
+      "name": "kvm32",
e90370
+      "typename": "kvm32-x86_64-cpu",
e90370
+      "unavailable-features": [],
e90370
+      "static": false,
e90370
+      "migration-safe": true
e90370
+    },
e90370
+    {
e90370
+      "name": "cpu64-rhel6",
e90370
+      "typename": "cpu64-rhel6-x86_64-cpu",
e90370
+      "unavailable-features": [
e90370
+        "sse4a"
e90370
+      ],
e90370
+      "static": false,
e90370
+      "migration-safe": true
e90370
+    },
e90370
+    {
e90370
+      "name": "coreduo",
e90370
+      "typename": "coreduo-x86_64-cpu",
e90370
+      "unavailable-features": [],
e90370
+      "static": false,
e90370
+      "migration-safe": true
e90370
+    },
e90370
+    {
e90370
+      "name": "core2duo",
e90370
+      "typename": "core2duo-x86_64-cpu",
e90370
+      "unavailable-features": [],
e90370
+      "static": false,
e90370
+      "migration-safe": true
e90370
+    },
e90370
+    {
e90370
+      "name": "athlon",
e90370
+      "typename": "athlon-x86_64-cpu",
e90370
+      "unavailable-features": [
e90370
+        "mmxext",
e90370
+        "3dnowext",
e90370
+        "3dnow"
e90370
+      ],
e90370
+      "static": false,
e90370
+      "migration-safe": true
e90370
+    },
e90370
+    {
e90370
+      "name": "Westmere",
e90370
+      "typename": "Westmere-x86_64-cpu",
e90370
+      "unavailable-features": [],
e90370
+      "static": false,
e90370
+      "migration-safe": true
e90370
+    },
e90370
+    {
e90370
+      "name": "Westmere-IBRS",
e90370
+      "typename": "Westmere-IBRS-x86_64-cpu",
e90370
+      "unavailable-features": [],
e90370
+      "static": false,
e90370
+      "migration-safe": true
e90370
+    },
e90370
+    {
e90370
+      "name": "Skylake-Server",
e90370
+      "typename": "Skylake-Server-x86_64-cpu",
e90370
+      "unavailable-features": [
e90370
+        "avx512f",
e90370
+        "avx512dq",
e90370
+        "clwb",
e90370
+        "avx512cd",
e90370
+        "avx512bw",
e90370
+        "avx512vl",
e90370
+        "avx512f",
e90370
+        "avx512f",
e90370
+        "avx512f"
e90370
+      ],
e90370
+      "static": false,
e90370
+      "migration-safe": true
e90370
+    },
e90370
+    {
e90370
+      "name": "Skylake-Server-IBRS",
e90370
+      "typename": "Skylake-Server-IBRS-x86_64-cpu",
e90370
+      "unavailable-features": [
e90370
+        "avx512f",
e90370
+        "avx512dq",
e90370
+        "clwb",
e90370
+        "avx512cd",
e90370
+        "avx512bw",
e90370
+        "avx512vl",
e90370
+        "avx512f",
e90370
+        "avx512f",
e90370
+        "avx512f"
e90370
+      ],
e90370
+      "static": false,
e90370
+      "migration-safe": true
e90370
+    },
e90370
+    {
e90370
+      "name": "Skylake-Client",
e90370
+      "typename": "Skylake-Client-x86_64-cpu",
e90370
+      "unavailable-features": [],
e90370
+      "static": false,
e90370
+      "migration-safe": true
e90370
+    },
e90370
+    {
e90370
+      "name": "Skylake-Client-IBRS",
e90370
+      "typename": "Skylake-Client-IBRS-x86_64-cpu",
e90370
+      "unavailable-features": [],
e90370
+      "static": false,
e90370
+      "migration-safe": true
e90370
+    },
e90370
+    {
e90370
+      "name": "SandyBridge",
e90370
+      "typename": "SandyBridge-x86_64-cpu",
e90370
+      "unavailable-features": [],
e90370
+      "static": false,
e90370
+      "migration-safe": true
e90370
+    },
e90370
+    {
e90370
+      "name": "SandyBridge-IBRS",
e90370
+      "typename": "SandyBridge-IBRS-x86_64-cpu",
e90370
+      "unavailable-features": [],
e90370
+      "static": false,
e90370
+      "migration-safe": true
e90370
+    },
e90370
+    {
e90370
+      "name": "Penryn",
e90370
+      "typename": "Penryn-x86_64-cpu",
e90370
+      "unavailable-features": [],
e90370
+      "static": false,
e90370
+      "migration-safe": true
e90370
+    },
e90370
+    {
e90370
+      "name": "Opteron_G5",
e90370
+      "typename": "Opteron_G5-x86_64-cpu",
e90370
+      "unavailable-features": [
e90370
+        "sse4a",
e90370
+        "misalignsse",
e90370
+        "xop",
e90370
+        "fma4",
e90370
+        "tbm"
e90370
+      ],
e90370
+      "static": false,
e90370
+      "migration-safe": true
e90370
+    },
e90370
+    {
e90370
+      "name": "Opteron_G4",
e90370
+      "typename": "Opteron_G4-x86_64-cpu",
e90370
+      "unavailable-features": [
e90370
+        "sse4a",
e90370
+        "misalignsse",
e90370
+        "xop",
e90370
+        "fma4"
e90370
+      ],
e90370
+      "static": false,
e90370
+      "migration-safe": true
e90370
+    },
e90370
+    {
e90370
+      "name": "Opteron_G3",
e90370
+      "typename": "Opteron_G3-x86_64-cpu",
e90370
+      "unavailable-features": [
e90370
+        "sse4a",
e90370
+        "misalignsse"
e90370
+      ],
e90370
+      "static": false,
e90370
+      "migration-safe": true
e90370
+    },
e90370
+    {
e90370
+      "name": "Opteron_G2",
e90370
+      "typename": "Opteron_G2-x86_64-cpu",
e90370
+      "unavailable-features": [],
e90370
+      "static": false,
e90370
+      "migration-safe": true
e90370
+    },
e90370
+    {
e90370
+      "name": "Opteron_G1",
e90370
+      "typename": "Opteron_G1-x86_64-cpu",
e90370
+      "unavailable-features": [],
e90370
+      "static": false,
e90370
+      "migration-safe": true
e90370
+    },
e90370
+    {
e90370
+      "name": "Nehalem",
e90370
+      "typename": "Nehalem-x86_64-cpu",
e90370
+      "unavailable-features": [],
e90370
+      "static": false,
e90370
+      "migration-safe": true
e90370
+    },
e90370
+    {
e90370
+      "name": "Nehalem-IBRS",
e90370
+      "typename": "Nehalem-IBRS-x86_64-cpu",
e90370
+      "unavailable-features": [],
e90370
+      "static": false,
e90370
+      "migration-safe": true
e90370
+    },
e90370
+    {
e90370
+      "name": "IvyBridge",
e90370
+      "typename": "IvyBridge-x86_64-cpu",
e90370
+      "unavailable-features": [],
e90370
+      "static": false,
e90370
+      "migration-safe": true
e90370
+    },
e90370
+    {
e90370
+      "name": "IvyBridge-IBRS",
e90370
+      "typename": "IvyBridge-IBRS-x86_64-cpu",
e90370
+      "unavailable-features": [],
e90370
+      "static": false,
e90370
+      "migration-safe": true
e90370
+    },
e90370
+    {
e90370
+      "name": "Haswell",
e90370
+      "typename": "Haswell-x86_64-cpu",
e90370
+      "unavailable-features": [],
e90370
+      "static": false,
e90370
+      "migration-safe": true
e90370
+    },
e90370
+    {
e90370
+      "name": "Haswell-noTSX",
e90370
+      "typename": "Haswell-noTSX-x86_64-cpu",
e90370
+      "unavailable-features": [],
e90370
+      "static": false,
e90370
+      "migration-safe": true
e90370
+    },
e90370
+    {
e90370
+      "name": "Haswell-noTSX-IBRS",
e90370
+      "typename": "Haswell-noTSX-IBRS-x86_64-cpu",
e90370
+      "unavailable-features": [],
e90370
+      "static": false,
e90370
+      "migration-safe": true
e90370
+    },
e90370
+    {
e90370
+      "name": "Haswell-IBRS",
e90370
+      "typename": "Haswell-IBRS-x86_64-cpu",
e90370
+      "unavailable-features": [],
e90370
+      "static": false,
e90370
+      "migration-safe": true
e90370
+    },
e90370
+    {
e90370
+      "name": "EPYC",
e90370
+      "typename": "EPYC-x86_64-cpu",
e90370
+      "unavailable-features": [
e90370
+        "sha-ni",
e90370
+        "mmxext",
e90370
+        "fxsr-opt",
e90370
+        "cr8legacy",
e90370
+        "sse4a",
e90370
+        "misalignsse",
e90370
+        "osvw"
e90370
+      ],
e90370
+      "static": false,
e90370
+      "migration-safe": true
e90370
+    },
e90370
+    {
e90370
+      "name": "EPYC-IBPB",
e90370
+      "typename": "EPYC-IBPB-x86_64-cpu",
e90370
+      "unavailable-features": [
e90370
+        "sha-ni",
e90370
+        "mmxext",
e90370
+        "fxsr-opt",
e90370
+        "cr8legacy",
e90370
+        "sse4a",
e90370
+        "misalignsse",
e90370
+        "osvw",
e90370
+        "ibpb"
e90370
+      ],
e90370
+      "static": false,
e90370
+      "migration-safe": true
e90370
+    },
e90370
+    {
e90370
+      "name": "Conroe",
e90370
+      "typename": "Conroe-x86_64-cpu",
e90370
+      "unavailable-features": [],
e90370
+      "static": false,
e90370
+      "migration-safe": true
e90370
+    },
e90370
+    {
e90370
+      "name": "Broadwell",
e90370
+      "typename": "Broadwell-x86_64-cpu",
e90370
+      "unavailable-features": [],
e90370
+      "static": false,
e90370
+      "migration-safe": true
e90370
+    },
e90370
+    {
e90370
+      "name": "Broadwell-noTSX",
e90370
+      "typename": "Broadwell-noTSX-x86_64-cpu",
e90370
+      "unavailable-features": [],
e90370
+      "static": false,
e90370
+      "migration-safe": true
e90370
+    },
e90370
+    {
e90370
+      "name": "Broadwell-noTSX-IBRS",
e90370
+      "typename": "Broadwell-noTSX-IBRS-x86_64-cpu",
e90370
+      "unavailable-features": [],
e90370
+      "static": false,
e90370
+      "migration-safe": true
e90370
+    },
e90370
+    {
e90370
+      "name": "Broadwell-IBRS",
e90370
+      "typename": "Broadwell-IBRS-x86_64-cpu",
e90370
+      "unavailable-features": [],
e90370
+      "static": false,
e90370
+      "migration-safe": true
e90370
+    },
e90370
+    {
e90370
+      "name": "486",
e90370
+      "typename": "486-x86_64-cpu",
e90370
+      "unavailable-features": [],
e90370
+      "static": false,
e90370
+      "migration-safe": true
e90370
+    }
e90370
+  ],
e90370
+  "id": "definitions"
e90370
+}
e90370
diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-E3-1225-v5.sig b/tests/cputestdata/x86_64-cpuid-Xeon-E3-1225-v5.sig
e90370
new file mode 100644
e90370
index 0000000000..7e57c2ded6
e90370
--- /dev/null
e90370
+++ b/tests/cputestdata/x86_64-cpuid-Xeon-E3-1225-v5.sig
e90370
@@ -0,0 +1,4 @@
e90370
+0506e3
e90370
+family:     6 (0x06)
e90370
+model:     94 (0x5e)
e90370
+stepping:   3 (0x03)
e90370
diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-E3-1225-v5.xml b/tests/cputestdata/x86_64-cpuid-Xeon-E3-1225-v5.xml
e90370
new file mode 100644
e90370
index 0000000000..437429d61d
e90370
--- /dev/null
e90370
+++ b/tests/cputestdata/x86_64-cpuid-Xeon-E3-1225-v5.xml
e90370
@@ -0,0 +1,47 @@
e90370
+
e90370
+<cpudata arch='x86'>
e90370
+  <cpuid eax_in='0x00000000' ecx_in='0x00' eax='0x00000016' ebx='0x756e6547' ecx='0x6c65746e' edx='0x49656e69'/>
e90370
+  <cpuid eax_in='0x00000001' ecx_in='0x00' eax='0x000506e3' ebx='0x06100800' ecx='0x7ffafbff' edx='0xbfebfbff'/>
e90370
+  <cpuid eax_in='0x00000002' ecx_in='0x00' eax='0x76036301' ebx='0x00f0b6ff' ecx='0x00000000' edx='0x00c30000'/>
e90370
+  <cpuid eax_in='0x00000003' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000000'/>
e90370
+  <cpuid eax_in='0x00000004' ecx_in='0x00' eax='0x1c004121' ebx='0x01c0003f' ecx='0x0000003f' edx='0x00000000'/>
e90370
+  <cpuid eax_in='0x00000004' ecx_in='0x01' eax='0x1c004122' ebx='0x01c0003f' ecx='0x0000003f' edx='0x00000000'/>
e90370
+  <cpuid eax_in='0x00000004' ecx_in='0x02' eax='0x1c004143' ebx='0x00c0003f' ecx='0x000003ff' edx='0x00000000'/>
e90370
+  <cpuid eax_in='0x00000004' ecx_in='0x03' eax='0x1c03c163' ebx='0x03c0003f' ecx='0x00001fff' edx='0x00000006'/>
e90370
+  <cpuid eax_in='0x00000005' ecx_in='0x00' eax='0x00000040' ebx='0x00000040' ecx='0x00000003' edx='0x00142120'/>
e90370
+  <cpuid eax_in='0x00000006' ecx_in='0x00' eax='0x000027f7' ebx='0x00000002' ecx='0x00000009' edx='0x00000000'/>
e90370
+  <cpuid eax_in='0x00000007' ecx_in='0x00' eax='0x00000000' ebx='0x029c6fbf' ecx='0x00000000' edx='0x9c002400'/>
e90370
+  <cpuid eax_in='0x00000008' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000000'/>
e90370
+  <cpuid eax_in='0x00000009' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000000'/>
e90370
+  <cpuid eax_in='0x0000000a' ecx_in='0x00' eax='0x07300804' ebx='0x00000000' ecx='0x00000000' edx='0x00000603'/>
e90370
+  <cpuid eax_in='0x0000000b' ecx_in='0x00' eax='0x00000001' ebx='0x00000001' ecx='0x00000100' edx='0x00000006'/>
e90370
+  <cpuid eax_in='0x0000000b' ecx_in='0x01' eax='0x00000004' ebx='0x00000004' ecx='0x00000201' edx='0x00000006'/>
e90370
+  <cpuid eax_in='0x0000000c' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000000'/>
e90370
+  <cpuid eax_in='0x0000000d' ecx_in='0x00' eax='0x0000001f' ebx='0x00000440' ecx='0x00000440' edx='0x00000000'/>
e90370
+  <cpuid eax_in='0x0000000d' ecx_in='0x01' eax='0x0000000f' ebx='0x000003c0' ecx='0x00000100' edx='0x00000000'/>
e90370
+  <cpuid eax_in='0x0000000d' ecx_in='0x02' eax='0x00000100' ebx='0x00000240' ecx='0x00000000' edx='0x00000000'/>
e90370
+  <cpuid eax_in='0x0000000d' ecx_in='0x03' eax='0x00000040' ebx='0x000003c0' ecx='0x00000000' edx='0x00000000'/>
e90370
+  <cpuid eax_in='0x0000000d' ecx_in='0x04' eax='0x00000040' ebx='0x00000400' ecx='0x00000000' edx='0x00000000'/>
e90370
+  <cpuid eax_in='0x0000000d' ecx_in='0x08' eax='0x00000080' ebx='0x00000000' ecx='0x00000001' edx='0x00000000'/>
e90370
+  <cpuid eax_in='0x0000000e' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000000'/>
e90370
+  <cpuid eax_in='0x0000000f' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000000'/>
e90370
+  <cpuid eax_in='0x00000010' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000000'/>
e90370
+  <cpuid eax_in='0x00000011' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000000'/>
e90370
+  <cpuid eax_in='0x00000012' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000000'/>
e90370
+  <cpuid eax_in='0x00000013' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000000'/>
e90370
+  <cpuid eax_in='0x00000014' ecx_in='0x00' eax='0x00000001' ebx='0x0000000f' ecx='0x00000007' edx='0x00000000'/>
e90370
+  <cpuid eax_in='0x00000014' ecx_in='0x01' eax='0x02490002' ebx='0x003f3fff' ecx='0x00000000' edx='0x00000000'/>
e90370
+  <cpuid eax_in='0x00000015' ecx_in='0x00' eax='0x00000002' ebx='0x00000114' ecx='0x00000000' edx='0x00000000'/>
e90370
+  <cpuid eax_in='0x00000016' ecx_in='0x00' eax='0x00000ce4' ebx='0x00000e74' ecx='0x00000064' edx='0x00000000'/>
e90370
+  <cpuid eax_in='0x80000000' ecx_in='0x00' eax='0x80000008' ebx='0x00000000' ecx='0x00000000' edx='0x00000000'/>
e90370
+  <cpuid eax_in='0x80000001' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000121' edx='0x2c100800'/>
e90370
+  <cpuid eax_in='0x80000002' ecx_in='0x00' eax='0x65746e49' ebx='0x2952286c' ecx='0x6f655820' edx='0x2952286e'/>
e90370
+  <cpuid eax_in='0x80000003' ecx_in='0x00' eax='0x55504320' ebx='0x2d334520' ecx='0x35323231' edx='0x20357620'/>
e90370
+  <cpuid eax_in='0x80000004' ecx_in='0x00' eax='0x2e332040' ebx='0x48473033' ecx='0x0000007a' edx='0x00000000'/>
e90370
+  <cpuid eax_in='0x80000005' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000000'/>
e90370
+  <cpuid eax_in='0x80000006' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x01006040' edx='0x00000000'/>
e90370
+  <cpuid eax_in='0x80000007' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000100'/>
e90370
+  <cpuid eax_in='0x80000008' ecx_in='0x00' eax='0x00003027' ebx='0x00000000' ecx='0x00000000' edx='0x00000000'/>
e90370
+  <cpuid eax_in='0x80860000' ecx_in='0x00' eax='0x00000ce4' ebx='0x00000e74' ecx='0x00000064' edx='0x00000000'/>
e90370
+  <cpuid eax_in='0xc0000000' ecx_in='0x00' eax='0x00000ce4' ebx='0x00000e74' ecx='0x00000064' edx='0x00000000'/>
e90370
+</cpudata>
e90370
-- 
e90370
2.21.0
e90370