[libvirt] [PATCH] cpu: Add support for clflushopt and tsc_adjust Intel features

Alexander Burluka aburluka at virtuozzo.com
Sat May 14 10:06:56 UTC 2016


Corresponding QEMU commits:
    clflushopt f7fda280948a5e74aeb076ef346b991ecb173c56
    tsc_adjust 7b458bfd12a71b3da6b531daedc417492c9334e0

Signed-off-by: Alexander Burluka <aburluka at virtuozzo.com>
---
 src/cpu/cpu_map.xml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/cpu/cpu_map.xml b/src/cpu/cpu_map.xml
index 0b6d424..08aded2 100644
--- a/src/cpu/cpu_map.xml
+++ b/src/cpu/cpu_map.xml
@@ -293,6 +293,9 @@
     <feature name='fsgsbase'>
       <cpuid function='0x00000007' ebx='0x00000001'/>
     </feature>
+    <feature name='tsc_adjust'>
+      <cpuid function='0x00000007' ebx='0x00000002'/>
+    </feature>
     <feature name='bmi1'>
       <cpuid function='0x00000007' ebx='0x00000008'/>
     </feature>
@@ -332,6 +335,9 @@
     <feature name='smap'>
       <cpuid function='0x00000007' ebx='0x00100000'/>
     </feature>
+    <feature name='clflushopt'>
+      <cpuid function='0x00000007' ebx='0x00800000'/>
+    </feature>
     <feature name='avx512pf'> <!-- AVX-512 Prefetch -->
       <cpuid function='0x00000007' ebx='0x04000000'/>
     </feature>
-- 
1.8.3.1




More information about the libvir-list mailing list