mirror of https://gitee.com/openkylin/libvirt.git
cpu: add CLZERO CPUID support for AMD platforms
Qemu commit e900135dcfb67 ("i386: Add CPUID bit for CLZERO and XSAVEERPTR") adds support for CLZERO CPUID bit. This commit extends support for this CPUID bit into libvirt. Signed-off-by: Ani Sinha <ani.sinha@nutanix.com> Message-Id: <1575371352-99055-1-git-send-email-ani.sinha@nutanix.com> Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
This commit is contained in:
parent
8ea9e032dd
commit
1d17f881a2
|
@ -467,6 +467,9 @@
|
||||||
</feature>
|
</feature>
|
||||||
|
|
||||||
<!-- More AMD-specific features -->
|
<!-- More AMD-specific features -->
|
||||||
|
<feature name='clzero'>
|
||||||
|
<cpuid eax_in='0x80000008' ebx='0x00000001'/>
|
||||||
|
</feature>
|
||||||
<feature name='wbnoinvd'>
|
<feature name='wbnoinvd'>
|
||||||
<cpuid eax_in='0x80000008' ebx='0x00000200'/>
|
<cpuid eax_in='0x80000008' ebx='0x00000200'/>
|
||||||
</feature>
|
</feature>
|
||||||
|
|
|
@ -13,4 +13,5 @@
|
||||||
<feature policy='require' name='perfctr_core'/>
|
<feature policy='require' name='perfctr_core'/>
|
||||||
<feature policy='require' name='perfctr_nb'/>
|
<feature policy='require' name='perfctr_nb'/>
|
||||||
<feature policy='require' name='invtsc'/>
|
<feature policy='require' name='invtsc'/>
|
||||||
|
<feature policy='require' name='clzero'/>
|
||||||
</cpu>
|
</cpu>
|
||||||
|
|
|
@ -14,4 +14,5 @@
|
||||||
<feature name='perfctr_core'/>
|
<feature name='perfctr_core'/>
|
||||||
<feature name='perfctr_nb'/>
|
<feature name='perfctr_nb'/>
|
||||||
<feature name='invtsc'/>
|
<feature name='invtsc'/>
|
||||||
|
<feature name='clzero'/>
|
||||||
</cpu>
|
</cpu>
|
||||||
|
|
|
@ -13,5 +13,6 @@
|
||||||
<feature policy='require' name='perfctr_core'/>
|
<feature policy='require' name='perfctr_core'/>
|
||||||
<feature policy='require' name='perfctr_nb'/>
|
<feature policy='require' name='perfctr_nb'/>
|
||||||
<feature policy='require' name='invtsc'/>
|
<feature policy='require' name='invtsc'/>
|
||||||
|
<feature policy='require' name='clzero'/>
|
||||||
<feature policy='disable' name='rdtscp'/>
|
<feature policy='disable' name='rdtscp'/>
|
||||||
</cpu>
|
</cpu>
|
||||||
|
|
|
@ -14,4 +14,5 @@
|
||||||
<feature name='perfctr_core'/>
|
<feature name='perfctr_core'/>
|
||||||
<feature name='perfctr_nb'/>
|
<feature name='perfctr_nb'/>
|
||||||
<feature name='invtsc'/>
|
<feature name='invtsc'/>
|
||||||
|
<feature name='clzero'/>
|
||||||
</cpu>
|
</cpu>
|
||||||
|
|
|
@ -13,4 +13,5 @@
|
||||||
<feature policy='require' name='perfctr_core'/>
|
<feature policy='require' name='perfctr_core'/>
|
||||||
<feature policy='require' name='perfctr_nb'/>
|
<feature policy='require' name='perfctr_nb'/>
|
||||||
<feature policy='require' name='invtsc'/>
|
<feature policy='require' name='invtsc'/>
|
||||||
|
<feature policy='require' name='clzero'/>
|
||||||
</cpu>
|
</cpu>
|
||||||
|
|
|
@ -14,4 +14,5 @@
|
||||||
<feature name='perfctr_core'/>
|
<feature name='perfctr_core'/>
|
||||||
<feature name='perfctr_nb'/>
|
<feature name='perfctr_nb'/>
|
||||||
<feature name='invtsc'/>
|
<feature name='invtsc'/>
|
||||||
|
<feature name='clzero'/>
|
||||||
</cpu>
|
</cpu>
|
||||||
|
|
|
@ -13,4 +13,5 @@
|
||||||
<feature policy='require' name='perfctr_core'/>
|
<feature policy='require' name='perfctr_core'/>
|
||||||
<feature policy='require' name='perfctr_nb'/>
|
<feature policy='require' name='perfctr_nb'/>
|
||||||
<feature policy='require' name='invtsc'/>
|
<feature policy='require' name='invtsc'/>
|
||||||
|
<feature policy='require' name='clzero'/>
|
||||||
</cpu>
|
</cpu>
|
||||||
|
|
|
@ -14,4 +14,5 @@
|
||||||
<feature name='perfctr_core'/>
|
<feature name='perfctr_core'/>
|
||||||
<feature name='perfctr_nb'/>
|
<feature name='perfctr_nb'/>
|
||||||
<feature name='invtsc'/>
|
<feature name='invtsc'/>
|
||||||
|
<feature name='clzero'/>
|
||||||
</cpu>
|
</cpu>
|
||||||
|
|
Loading…
Reference in New Issue