mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 11:35:19 +00:00
cpu: add CPU features for indirect branch prediction protection
Added in QEMU commits TBD and TBD. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Jiri Denemark <jdenemar@redhat.com> Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
parent
904cdd09bc
commit
8b605530e8
@ -292,6 +292,9 @@
|
|||||||
<feature name='avx512-4fmaps'>
|
<feature name='avx512-4fmaps'>
|
||||||
<cpuid eax_in='0x07' ecx_in='0x00' edx='0x00000008'/>
|
<cpuid eax_in='0x07' ecx_in='0x00' edx='0x00000008'/>
|
||||||
</feature>
|
</feature>
|
||||||
|
<feature name='spec-ctrl'>
|
||||||
|
<cpuid eax_in='0x07' ecx_in='0x00' edx='0x04000000'/>
|
||||||
|
</feature>
|
||||||
|
|
||||||
<!-- Processor Extended State Enumeration sub leaf 1 -->
|
<!-- Processor Extended State Enumeration sub leaf 1 -->
|
||||||
<feature name='xsaveopt'>
|
<feature name='xsaveopt'>
|
||||||
@ -420,6 +423,11 @@
|
|||||||
<cpuid eax_in='0x80000007' edx='0x00000100'/>
|
<cpuid eax_in='0x80000007' edx='0x00000100'/>
|
||||||
</feature>
|
</feature>
|
||||||
|
|
||||||
|
<!-- More AMD-specific features -->
|
||||||
|
<feature name='ibpb'>
|
||||||
|
<cpuid eax_in='0x80000008' ebx='0x00001000'/>
|
||||||
|
</feature>
|
||||||
|
|
||||||
<!-- models -->
|
<!-- models -->
|
||||||
<model name='486'>
|
<model name='486'>
|
||||||
<feature name='fpu'/>
|
<feature name='fpu'/>
|
||||||
|
Loading…
Reference in New Issue
Block a user