]> xenbits.xensource.com Git - libvirt.git/commitdiff
cpu: Add cpu flags supported by newest qemu
authorPeter Krempa <pkrempa@redhat.com>
Thu, 8 Dec 2011 14:11:52 +0000 (15:11 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 9 Dec 2011 11:46:25 +0000 (12:46 +0100)
Add support for newly supported Intel cpu features. Newly supported
flags are: pclmuldq, dtes64, smx, fma, pdcm, movbe, xsave, osxsave and
avx. This adds support for Intel's Sandy Bridge platform.

src/cpu/cpu_map.xml

index 35dca20e785ecff4c8e9e3733f1302792b1aea3b..693caf1144538494b0364c6ac22809ac824424be 100644 (file)
     <feature name='pni'> <!-- CPUID_EXT_SSE3 -->
       <cpuid function='0x00000001' ecx='0x00000001'/>
     </feature>
+    <feature name='pclmuldq'>
+      <cpuid function='0x00000001' ecx='0x00000002'/>
+    </feature>
+    <feature name='dtes64'>
+      <cpuid function='0x00000001' ecx='0x00000004'/>
+    </feature>
     <feature name='monitor'> <!-- CPUID_EXT_MONITOR -->
       <cpuid function='0x00000001' ecx='0x00000008'/>
     </feature>
     </feature>
     <feature name='vmx'> <!-- CPUID_EXT_VMX -->
       <cpuid function='0x00000001' ecx='0x00000020'/>
+    </feature>
+     <feature name='smx'>
+      <cpuid function='0x00000001' ecx='0x00000040'/>
     </feature>
     <feature name='est'> <!-- CPUID_EXT_EST -->
       <cpuid function='0x00000001' ecx='0x00000080'/>
     <feature name='cid'> <!-- CPUID_EXT_CID -->
       <cpuid function='0x00000001' ecx='0x00000400'/>
     </feature>
+    <feature name='fma'>
+      <cpuid function='0x00000001' ecx='0x00001000'/>
+    </feature>
     <feature name='cx16'> <!-- CPUID_EXT_CX16 -->
       <cpuid function='0x00000001' ecx='0x00002000'/>
     </feature>
     <feature name='xtpr'> <!-- CPUID_EXT_XTPR -->
       <cpuid function='0x00000001' ecx='0x00004000'/>
     </feature>
+    <feature name='pdcm'>
+      <cpuid function='0x00000001' ecx='0x00008000'/>
+    </feature>
     <feature name='dca'> <!-- CPUID_EXT_DCA -->
       <cpuid function='0x00000001' ecx='0x00040000'/>
     </feature>
     <feature name='x2apic'> <!-- CPUID_EXT_X2APIC -->
       <cpuid function='0x00000001' ecx='0x00200000'/>
     </feature>
+    <feature name='movbe'>
+      <cpuid function='0x00000001' ecx='0x00400000'/>
+    </feature>
     <feature name='popcnt'> <!-- CPUID_EXT_POPCNT -->
       <cpuid function='0x00000001' ecx='0x00800000'/>
     </feature>
     <feature name='aes'>
       <cpuid function='0x00000001' ecx='0x02000000'/>
     </feature>
+    <feature name='xsave'>
+      <cpuid function='0x00000001' ecx='0x04000000'/>
+    </feature>
+    <feature name='osxsave'>
+      <cpuid function='0x00000001' ecx='0x08000000'/>
+    </feature>
+    <feature name='avx'>
+      <cpuid function='0x00000001' ecx='0x10000000'/>
+    </feature>
     <feature name='hypervisor'> <!-- CPUID_EXT_HYPERVISOR -->
       <cpuid function='0x00000001' ecx='0x80000000'/>
     </feature>