]> xenbits.xensource.com Git - libvirt.git/commitdiff
cpu: Add support for clflushopt and tsc_adjust Intel features
authorAlexander Burluka <aburluka@virtuozzo.com>
Sat, 14 May 2016 10:06:56 +0000 (13:06 +0300)
committerJiri Denemark <jdenemar@redhat.com>
Mon, 16 May 2016 11:19:12 +0000 (13:19 +0200)
Corresponding QEMU commits:
    clflushopt f7fda280948a5e74aeb076ef346b991ecb173c56
    tsc_adjust 7b458bfd12a71b3da6b531daedc417492c9334e0

Signed-off-by: Alexander Burluka <aburluka@virtuozzo.com>
src/cpu/cpu_map.xml

index 0b6d424db4bdaef7925a2faf7b881f104b1ef4e5..08aded2f1cb0129ef2133eb322d2f6817a8db099 100644 (file)
     <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>
     <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>