render / rpms / libvirt

Forked from rpms/libvirt 9 months ago
Clone
edecca
From fe47728e25c3e12ea5b22a07902bf19a4b3afb43 Mon Sep 17 00:00:00 2001
edecca
Message-Id: <fe47728e25c3e12ea5b22a07902bf19a4b3afb43@dist-git>
edecca
From: Jiri Denemark <jdenemar@redhat.com>
edecca
Date: Wed, 29 Aug 2018 14:28:39 +0200
edecca
Subject: [PATCH] cpu_map: Add features for Icelake CPUs
edecca
MIME-Version: 1.0
edecca
Content-Type: text/plain; charset=UTF-8
edecca
Content-Transfer-Encoding: 8bit
edecca
edecca
QEMU commits:
edecca
edecca
    e37a5c7fa4 (v2.12.0)
edecca
        i386: Add Intel Processor Trace feature support
edecca
edecca
    c2f193b538 (v2.7.0)
edecca
        target-i386: Add support for UMIP and RDPID CPUID bits
edecca
edecca
    aff9e6e46a (v2.12.0)
edecca
        x86/cpu: Enable new SSE/AVX/AVX512 cpu features
edecca
edecca
    f77543772d (v2.9.0)
edecca
        x86: add AVX512_VPOPCNTDQ features
edecca
edecca
    5131dc433d (v3.1.0)
edecca
        i386: Add CPUID bit for PCONFIG
edecca
edecca
    59a80a19ca (v3.1.0)
edecca
        i386: Add CPUID bit for WBNOINVD
edecca
edecca
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
edecca
(cherry picked from commit 9813081119b6727c8b6067a783465addef06525e)
edecca
edecca
https://bugzilla.redhat.com/show_bug.cgi?id=1526625
edecca
https://bugzilla.redhat.com/show_bug.cgi?id=1527657
edecca
edecca
Conflicts:
edecca
	src/cpu_map/x86_features.xml
edecca
            - cpu_map.xml is still monolithic in RHEL-8
edecca
edecca
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
edecca
Reviewed-by: Ján Tomko <jtomko@redhat.com>
edecca
---
edecca
 src/cpu/cpu_map.xml                           | 33 +++++++++++++++++++
edecca
 .../x86_64-cpuid-Core-i5-6600-guest.xml       |  1 +
edecca
 .../x86_64-cpuid-Core-i5-6600-host.xml        |  1 +
edecca
 .../x86_64-cpuid-Core-i7-5600U-arat-guest.xml |  1 +
edecca
 .../x86_64-cpuid-Core-i7-5600U-arat-host.xml  |  1 +
edecca
 .../x86_64-cpuid-Core-i7-5600U-guest.xml      |  1 +
edecca
 .../x86_64-cpuid-Core-i7-5600U-host.xml       |  1 +
edecca
 .../x86_64-cpuid-Core-i7-5600U-ibrs-guest.xml |  1 +
edecca
 .../x86_64-cpuid-Core-i7-5600U-ibrs-host.xml  |  1 +
edecca
 .../x86_64-cpuid-Core-i7-7700-guest.xml       |  1 +
edecca
 .../x86_64-cpuid-Core-i7-7700-host.xml        |  1 +
edecca
 .../x86_64-cpuid-Xeon-E3-1245-v5-guest.xml    |  1 +
edecca
 .../x86_64-cpuid-Xeon-E3-1245-v5-host.xml     |  1 +
edecca
 .../x86_64-cpuid-Xeon-E5-2623-v4-guest.xml    |  1 +
edecca
 .../x86_64-cpuid-Xeon-E5-2623-v4-host.xml     |  1 +
edecca
 .../x86_64-cpuid-Xeon-E5-2650-v4-guest.xml    |  1 +
edecca
 .../x86_64-cpuid-Xeon-E5-2650-v4-host.xml     |  1 +
edecca
 .../x86_64-cpuid-Xeon-Gold-5115-guest.xml     |  1 +
edecca
 .../x86_64-cpuid-Xeon-Gold-5115-host.xml      |  1 +
edecca
 .../x86_64-cpuid-Xeon-Gold-6148-guest.xml     |  1 +
edecca
 .../x86_64-cpuid-Xeon-Gold-6148-host.xml      |  1 +
edecca
 21 files changed, 53 insertions(+)
edecca
edecca
diff --git a/src/cpu/cpu_map.xml b/src/cpu/cpu_map.xml
edecca
index 96daa0f9af..4d19a7c811 100644
edecca
--- a/src/cpu/cpu_map.xml
edecca
+++ b/src/cpu/cpu_map.xml
edecca
@@ -257,6 +257,9 @@
edecca
     <feature name='clwb'>
edecca
       <cpuid eax_in='0x07' ecx_in='0x00' ebx='0x01000000'/>
edecca
     </feature>
edecca
+    <feature name='intel-pt'>
edecca
+      <cpuid eax_in='0x07' ecx_in='0x00' ebx='0x02000000'/>
edecca
+    </feature>
edecca
     <feature name='avx512pf'>
edecca
       <cpuid eax_in='0x07' ecx_in='0x00' ebx='0x04000000'/>
edecca
     </feature>
edecca
@@ -279,12 +282,36 @@
edecca
     <feature name='avx512vbmi'>
edecca
       <cpuid eax_in='0x07' ecx_in='0x00' ecx='0x00000002'/>
edecca
     </feature>
edecca
+    <feature name='umip'>
edecca
+      <cpuid eax_in='0x07' ecx_in='0x00' ecx='0x00000004'/>
edecca
+    </feature>
edecca
     <feature name='pku'>
edecca
       <cpuid eax_in='0x07' ecx_in='0x00' ecx='0x00000008'/>
edecca
     </feature>
edecca
     <feature name='ospke'>
edecca
       <cpuid eax_in='0x07' ecx_in='0x00' ecx='0x00000010'/>
edecca
     </feature>
edecca
+    <feature name='avx512vbmi2'>
edecca
+      <cpuid eax_in='0x07' ecx_in='0x00' ecx='0x00000040'/>
edecca
+    </feature>
edecca
+    <feature name='gfni'>
edecca
+      <cpuid eax_in='0x07' ecx_in='0x00' ecx='0x00000100'/>
edecca
+    </feature>
edecca
+    <feature name='vaes'>
edecca
+      <cpuid eax_in='0x07' ecx_in='0x00' ecx='0x00000200'/>
edecca
+    </feature>
edecca
+    <feature name='vpclmulqdq'>
edecca
+      <cpuid eax_in='0x07' ecx_in='0x00' ecx='0x00000400'/>
edecca
+    </feature>
edecca
+    <feature name='avx512vnni'>
edecca
+      <cpuid eax_in='0x07' ecx_in='0x00' ecx='0x00000800'/>
edecca
+    </feature>
edecca
+    <feature name='avx512bitalg'>
edecca
+      <cpuid eax_in='0x07' ecx_in='0x00' ecx='0x00001000'/>
edecca
+    </feature>
edecca
+    <feature name='avx512-vpopcntdq'>
edecca
+      <cpuid eax_in='0x07' ecx_in='0x00' ecx='0x00004000'/>
edecca
+    </feature>
edecca
     <feature name='la57'>
edecca
       <cpuid eax_in='0x07' ecx_in='0x00' ecx='0x00010000'/>
edecca
     </feature>
edecca
@@ -295,6 +322,9 @@
edecca
     <feature name='avx512-4fmaps'>
edecca
       <cpuid eax_in='0x07' ecx_in='0x00' edx='0x00000008'/>
edecca
     </feature>
edecca
+    <feature name='pconfig'>
edecca
+      <cpuid eax_in='0x07' ecx_in='0x00' edx='0x00040000'/>
edecca
+    </feature>
edecca
     <feature name='spec-ctrl'>
edecca
       <cpuid eax_in='0x07' ecx_in='0x00' edx='0x04000000'/>
edecca
     </feature>
edecca
@@ -430,6 +460,9 @@
edecca
     </feature>
edecca
 
edecca
     
edecca
+    <feature name='wbnoinvd'>
edecca
+      <cpuid eax_in='0x80000008' ebx='0x00000200'/>
edecca
+    </feature>
edecca
     <feature name='ibpb'>
edecca
       <cpuid eax_in='0x80000008' ebx='0x00001000'/>
edecca
     </feature>
edecca
diff --git a/tests/cputestdata/x86_64-cpuid-Core-i5-6600-guest.xml b/tests/cputestdata/x86_64-cpuid-Core-i5-6600-guest.xml
edecca
index c3561d5971..5777a0bfba 100644
edecca
--- a/tests/cputestdata/x86_64-cpuid-Core-i5-6600-guest.xml
edecca
+++ b/tests/cputestdata/x86_64-cpuid-Core-i5-6600-guest.xml
edecca
@@ -19,6 +19,7 @@
edecca
   <feature policy='require' name='osxsave'/>
edecca
   <feature policy='require' name='tsc_adjust'/>
edecca
   <feature policy='require' name='clflushopt'/>
edecca
+  <feature policy='require' name='intel-pt'/>
edecca
   <feature policy='require' name='xsaves'/>
edecca
   <feature policy='require' name='pdpe1gb'/>
edecca
   <feature policy='require' name='invtsc'/>
edecca
diff --git a/tests/cputestdata/x86_64-cpuid-Core-i5-6600-host.xml b/tests/cputestdata/x86_64-cpuid-Core-i5-6600-host.xml
edecca
index c799394eaf..faaa07f19b 100644
edecca
--- a/tests/cputestdata/x86_64-cpuid-Core-i5-6600-host.xml
edecca
+++ b/tests/cputestdata/x86_64-cpuid-Core-i5-6600-host.xml
edecca
@@ -20,6 +20,7 @@
edecca
   <feature name='osxsave'/>
edecca
   <feature name='tsc_adjust'/>
edecca
   <feature name='clflushopt'/>
edecca
+  <feature name='intel-pt'/>
edecca
   <feature name='xsaves'/>
edecca
   <feature name='pdpe1gb'/>
edecca
   <feature name='invtsc'/>
edecca
diff --git a/tests/cputestdata/x86_64-cpuid-Core-i7-5600U-arat-guest.xml b/tests/cputestdata/x86_64-cpuid-Core-i7-5600U-arat-guest.xml
edecca
index 877895cf15..e825e2a0fb 100644
edecca
--- a/tests/cputestdata/x86_64-cpuid-Core-i7-5600U-arat-guest.xml
edecca
+++ b/tests/cputestdata/x86_64-cpuid-Core-i7-5600U-arat-guest.xml
edecca
@@ -22,6 +22,7 @@
edecca
   <feature policy='require' name='rdrand'/>
edecca
   <feature policy='require' name='arat'/>
edecca
   <feature policy='require' name='tsc_adjust'/>
edecca
+  <feature policy='require' name='intel-pt'/>
edecca
   <feature policy='require' name='xsaveopt'/>
edecca
   <feature policy='require' name='pdpe1gb'/>
edecca
   <feature policy='require' name='abm'/>
edecca
diff --git a/tests/cputestdata/x86_64-cpuid-Core-i7-5600U-arat-host.xml b/tests/cputestdata/x86_64-cpuid-Core-i7-5600U-arat-host.xml
edecca
index 9b24941e0e..ea622c87c7 100644
edecca
--- a/tests/cputestdata/x86_64-cpuid-Core-i7-5600U-arat-host.xml
edecca
+++ b/tests/cputestdata/x86_64-cpuid-Core-i7-5600U-arat-host.xml
edecca
@@ -23,6 +23,7 @@
edecca
   <feature name='rdrand'/>
edecca
   <feature name='arat'/>
edecca
   <feature name='tsc_adjust'/>
edecca
+  <feature name='intel-pt'/>
edecca
   <feature name='xsaveopt'/>
edecca
   <feature name='pdpe1gb'/>
edecca
   <feature name='abm'/>
edecca
diff --git a/tests/cputestdata/x86_64-cpuid-Core-i7-5600U-guest.xml b/tests/cputestdata/x86_64-cpuid-Core-i7-5600U-guest.xml
edecca
index 877895cf15..e825e2a0fb 100644
edecca
--- a/tests/cputestdata/x86_64-cpuid-Core-i7-5600U-guest.xml
edecca
+++ b/tests/cputestdata/x86_64-cpuid-Core-i7-5600U-guest.xml
edecca
@@ -22,6 +22,7 @@
edecca
   <feature policy='require' name='rdrand'/>
edecca
   <feature policy='require' name='arat'/>
edecca
   <feature policy='require' name='tsc_adjust'/>
edecca
+  <feature policy='require' name='intel-pt'/>
edecca
   <feature policy='require' name='xsaveopt'/>
edecca
   <feature policy='require' name='pdpe1gb'/>
edecca
   <feature policy='require' name='abm'/>
edecca
diff --git a/tests/cputestdata/x86_64-cpuid-Core-i7-5600U-host.xml b/tests/cputestdata/x86_64-cpuid-Core-i7-5600U-host.xml
edecca
index 9b24941e0e..ea622c87c7 100644
edecca
--- a/tests/cputestdata/x86_64-cpuid-Core-i7-5600U-host.xml
edecca
+++ b/tests/cputestdata/x86_64-cpuid-Core-i7-5600U-host.xml
edecca
@@ -23,6 +23,7 @@
edecca
   <feature name='rdrand'/>
edecca
   <feature name='arat'/>
edecca
   <feature name='tsc_adjust'/>
edecca
+  <feature name='intel-pt'/>
edecca
   <feature name='xsaveopt'/>
edecca
   <feature name='pdpe1gb'/>
edecca
   <feature name='abm'/>
edecca
diff --git a/tests/cputestdata/x86_64-cpuid-Core-i7-5600U-ibrs-guest.xml b/tests/cputestdata/x86_64-cpuid-Core-i7-5600U-ibrs-guest.xml
edecca
index a70cb6d46a..4fa4770208 100644
edecca
--- a/tests/cputestdata/x86_64-cpuid-Core-i7-5600U-ibrs-guest.xml
edecca
+++ b/tests/cputestdata/x86_64-cpuid-Core-i7-5600U-ibrs-guest.xml
edecca
@@ -22,6 +22,7 @@
edecca
   <feature policy='require' name='rdrand'/>
edecca
   <feature policy='require' name='arat'/>
edecca
   <feature policy='require' name='tsc_adjust'/>
edecca
+  <feature policy='require' name='intel-pt'/>
edecca
   <feature policy='require' name='xsaveopt'/>
edecca
   <feature policy='require' name='pdpe1gb'/>
edecca
   <feature policy='require' name='abm'/>
edecca
diff --git a/tests/cputestdata/x86_64-cpuid-Core-i7-5600U-ibrs-host.xml b/tests/cputestdata/x86_64-cpuid-Core-i7-5600U-ibrs-host.xml
edecca
index b8e3399103..25690c099c 100644
edecca
--- a/tests/cputestdata/x86_64-cpuid-Core-i7-5600U-ibrs-host.xml
edecca
+++ b/tests/cputestdata/x86_64-cpuid-Core-i7-5600U-ibrs-host.xml
edecca
@@ -23,6 +23,7 @@
edecca
   <feature name='rdrand'/>
edecca
   <feature name='arat'/>
edecca
   <feature name='tsc_adjust'/>
edecca
+  <feature name='intel-pt'/>
edecca
   <feature name='xsaveopt'/>
edecca
   <feature name='pdpe1gb'/>
edecca
   <feature name='abm'/>
edecca
diff --git a/tests/cputestdata/x86_64-cpuid-Core-i7-7700-guest.xml b/tests/cputestdata/x86_64-cpuid-Core-i7-7700-guest.xml
edecca
index c3561d5971..5777a0bfba 100644
edecca
--- a/tests/cputestdata/x86_64-cpuid-Core-i7-7700-guest.xml
edecca
+++ b/tests/cputestdata/x86_64-cpuid-Core-i7-7700-guest.xml
edecca
@@ -19,6 +19,7 @@
edecca
   <feature policy='require' name='osxsave'/>
edecca
   <feature policy='require' name='tsc_adjust'/>
edecca
   <feature policy='require' name='clflushopt'/>
edecca
+  <feature policy='require' name='intel-pt'/>
edecca
   <feature policy='require' name='xsaves'/>
edecca
   <feature policy='require' name='pdpe1gb'/>
edecca
   <feature policy='require' name='invtsc'/>
edecca
diff --git a/tests/cputestdata/x86_64-cpuid-Core-i7-7700-host.xml b/tests/cputestdata/x86_64-cpuid-Core-i7-7700-host.xml
edecca
index c799394eaf..faaa07f19b 100644
edecca
--- a/tests/cputestdata/x86_64-cpuid-Core-i7-7700-host.xml
edecca
+++ b/tests/cputestdata/x86_64-cpuid-Core-i7-7700-host.xml
edecca
@@ -20,6 +20,7 @@
edecca
   <feature name='osxsave'/>
edecca
   <feature name='tsc_adjust'/>
edecca
   <feature name='clflushopt'/>
edecca
+  <feature name='intel-pt'/>
edecca
   <feature name='xsaves'/>
edecca
   <feature name='pdpe1gb'/>
edecca
   <feature name='invtsc'/>
edecca
diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-E3-1245-v5-guest.xml b/tests/cputestdata/x86_64-cpuid-Xeon-E3-1245-v5-guest.xml
edecca
index c3561d5971..5777a0bfba 100644
edecca
--- a/tests/cputestdata/x86_64-cpuid-Xeon-E3-1245-v5-guest.xml
edecca
+++ b/tests/cputestdata/x86_64-cpuid-Xeon-E3-1245-v5-guest.xml
edecca
@@ -19,6 +19,7 @@
edecca
   <feature policy='require' name='osxsave'/>
edecca
   <feature policy='require' name='tsc_adjust'/>
edecca
   <feature policy='require' name='clflushopt'/>
edecca
+  <feature policy='require' name='intel-pt'/>
edecca
   <feature policy='require' name='xsaves'/>
edecca
   <feature policy='require' name='pdpe1gb'/>
edecca
   <feature policy='require' name='invtsc'/>
edecca
diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-E3-1245-v5-host.xml b/tests/cputestdata/x86_64-cpuid-Xeon-E3-1245-v5-host.xml
edecca
index c799394eaf..faaa07f19b 100644
edecca
--- a/tests/cputestdata/x86_64-cpuid-Xeon-E3-1245-v5-host.xml
edecca
+++ b/tests/cputestdata/x86_64-cpuid-Xeon-E3-1245-v5-host.xml
edecca
@@ -20,6 +20,7 @@
edecca
   <feature name='osxsave'/>
edecca
   <feature name='tsc_adjust'/>
edecca
   <feature name='clflushopt'/>
edecca
+  <feature name='intel-pt'/>
edecca
   <feature name='xsaves'/>
edecca
   <feature name='pdpe1gb'/>
edecca
   <feature name='invtsc'/>
edecca
diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-E5-2623-v4-guest.xml b/tests/cputestdata/x86_64-cpuid-Xeon-E5-2623-v4-guest.xml
edecca
index 60609f5c70..7b93df3f1b 100644
edecca
--- a/tests/cputestdata/x86_64-cpuid-Xeon-E5-2623-v4-guest.xml
edecca
+++ b/tests/cputestdata/x86_64-cpuid-Xeon-E5-2623-v4-guest.xml
edecca
@@ -20,6 +20,7 @@
edecca
   <feature policy='require' name='osxsave'/>
edecca
   <feature policy='require' name='tsc_adjust'/>
edecca
   <feature policy='require' name='cmt'/>
edecca
+  <feature policy='require' name='intel-pt'/>
edecca
   <feature policy='require' name='mbm_total'/>
edecca
   <feature policy='require' name='mbm_local'/>
edecca
   <feature policy='require' name='pdpe1gb'/>
edecca
diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-E5-2623-v4-host.xml b/tests/cputestdata/x86_64-cpuid-Xeon-E5-2623-v4-host.xml
edecca
index 357cafd10a..5078420c7a 100644
edecca
--- a/tests/cputestdata/x86_64-cpuid-Xeon-E5-2623-v4-host.xml
edecca
+++ b/tests/cputestdata/x86_64-cpuid-Xeon-E5-2623-v4-host.xml
edecca
@@ -25,6 +25,7 @@
edecca
   <feature name='arat'/>
edecca
   <feature name='tsc_adjust'/>
edecca
   <feature name='cmt'/>
edecca
+  <feature name='intel-pt'/>
edecca
   <feature name='xsaveopt'/>
edecca
   <feature name='mbm_total'/>
edecca
   <feature name='mbm_local'/>
edecca
diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-v4-guest.xml b/tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-v4-guest.xml
edecca
index 2fac54355c..cd7e25b52a 100644
edecca
--- a/tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-v4-guest.xml
edecca
+++ b/tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-v4-guest.xml
edecca
@@ -20,6 +20,7 @@
edecca
   <feature policy='require' name='osxsave'/>
edecca
   <feature policy='require' name='tsc_adjust'/>
edecca
   <feature policy='require' name='cmt'/>
edecca
+  <feature policy='require' name='intel-pt'/>
edecca
   <feature policy='require' name='mbm_total'/>
edecca
   <feature policy='require' name='mbm_local'/>
edecca
   <feature policy='require' name='pdpe1gb'/>
edecca
diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-v4-host.xml b/tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-v4-host.xml
edecca
index f482864a98..5dd8d749de 100644
edecca
--- a/tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-v4-host.xml
edecca
+++ b/tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-v4-host.xml
edecca
@@ -25,6 +25,7 @@
edecca
   <feature name='arat'/>
edecca
   <feature name='tsc_adjust'/>
edecca
   <feature name='cmt'/>
edecca
+  <feature name='intel-pt'/>
edecca
   <feature name='xsaveopt'/>
edecca
   <feature name='mbm_total'/>
edecca
   <feature name='mbm_local'/>
edecca
diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-Gold-5115-guest.xml b/tests/cputestdata/x86_64-cpuid-Xeon-Gold-5115-guest.xml
edecca
index 5f51dea631..480127f341 100644
edecca
--- a/tests/cputestdata/x86_64-cpuid-Xeon-Gold-5115-guest.xml
edecca
+++ b/tests/cputestdata/x86_64-cpuid-Xeon-Gold-5115-guest.xml
edecca
@@ -21,6 +21,7 @@
edecca
   <feature policy='require' name='tsc_adjust'/>
edecca
   <feature policy='require' name='cmt'/>
edecca
   <feature policy='require' name='clflushopt'/>
edecca
+  <feature policy='require' name='intel-pt'/>
edecca
   <feature policy='require' name='pku'/>
edecca
   <feature policy='require' name='xsaves'/>
edecca
   <feature policy='require' name='mbm_total'/>
edecca
diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-Gold-5115-host.xml b/tests/cputestdata/x86_64-cpuid-Xeon-Gold-5115-host.xml
edecca
index a11b31369d..680b10acef 100644
edecca
--- a/tests/cputestdata/x86_64-cpuid-Xeon-Gold-5115-host.xml
edecca
+++ b/tests/cputestdata/x86_64-cpuid-Xeon-Gold-5115-host.xml
edecca
@@ -22,6 +22,7 @@
edecca
   <feature name='tsc_adjust'/>
edecca
   <feature name='cmt'/>
edecca
   <feature name='clflushopt'/>
edecca
+  <feature name='intel-pt'/>
edecca
   <feature name='pku'/>
edecca
   <feature name='xsaves'/>
edecca
   <feature name='mbm_total'/>
edecca
diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-Gold-6148-guest.xml b/tests/cputestdata/x86_64-cpuid-Xeon-Gold-6148-guest.xml
edecca
index f72bcea68b..f31ca1ffc5 100644
edecca
--- a/tests/cputestdata/x86_64-cpuid-Xeon-Gold-6148-guest.xml
edecca
+++ b/tests/cputestdata/x86_64-cpuid-Xeon-Gold-6148-guest.xml
edecca
@@ -21,6 +21,7 @@
edecca
   <feature policy='require' name='tsc_adjust'/>
edecca
   <feature policy='require' name='cmt'/>
edecca
   <feature policy='require' name='clflushopt'/>
edecca
+  <feature policy='require' name='intel-pt'/>
edecca
   <feature policy='require' name='pku'/>
edecca
   <feature policy='require' name='xsaves'/>
edecca
   <feature policy='require' name='mbm_total'/>
edecca
diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-Gold-6148-host.xml b/tests/cputestdata/x86_64-cpuid-Xeon-Gold-6148-host.xml
edecca
index 1a68e35c19..b18ceddc60 100644
edecca
--- a/tests/cputestdata/x86_64-cpuid-Xeon-Gold-6148-host.xml
edecca
+++ b/tests/cputestdata/x86_64-cpuid-Xeon-Gold-6148-host.xml
edecca
@@ -22,6 +22,7 @@
edecca
   <feature name='tsc_adjust'/>
edecca
   <feature name='cmt'/>
edecca
   <feature name='clflushopt'/>
edecca
+  <feature name='intel-pt'/>
edecca
   <feature name='pku'/>
edecca
   <feature name='xsaves'/>
edecca
   <feature name='mbm_total'/>
edecca
-- 
edecca
2.19.1
edecca