mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
cpu_map: Add cpu feature avx-vnni
"avx-vvni" was introduced to qemu in commit c1826ea6a052084f2e6a0bae9dd5932a727df039, adding it Cooperlake. This feature is currently not used by any libvirt CPU models, but its addition silences a warning from sync_qemu_i386.py: ``` warning: Unknown feature 'CPUID_7_1_EAX_AVX_VNNI' warning: Feature unknown to libvirt: CPUID_7_1_EAX_AVX_VNNI ``` Signed-off-by: Tim Wiederhake <twiederh@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
2a51ff7b40
commit
05306cab74
@ -73,6 +73,7 @@ def translate_feature(name):
|
||||
"CPUID_7_0_EDX_SPEC_CTRL_SSBD": "ssbd",
|
||||
"CPUID_7_0_EDX_STIBP": "stibp",
|
||||
"CPUID_7_1_EAX_AVX512_BF16": "avx512-bf16",
|
||||
"CPUID_7_1_EAX_AVX_VNNI": "avx-vnni",
|
||||
"CPUID_8000_0008_EBX_AMD_SSBD": "amd-ssbd",
|
||||
"CPUID_8000_0008_EBX_CLZERO": "clzero",
|
||||
"CPUID_8000_0008_EBX_IBPB": "ibpb",
|
||||
|
@ -363,6 +363,9 @@
|
||||
<cpuid eax_in='0x07' ecx_in='0x00' edx='0x80000000'/>
|
||||
</feature>
|
||||
|
||||
<feature name='avx-vnni'>
|
||||
<cpuid eax_in='0x07' ecx_in='0x01' eax='0x00000010'/>
|
||||
</feature>
|
||||
<feature name='avx512-bf16'>
|
||||
<cpuid eax_in='0x07' ecx_in='0x01' eax='0x00000020'/>
|
||||
</feature>
|
||||
|
Loading…
x
Reference in New Issue
Block a user