diff options
author | Yang Zhong <yang.zhong@intel.com> | 2021-08-20 13:46:11 +0800 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2021-08-25 12:36:49 -0400 |
commit | f429dbf8fc526a9cacf531176b28d0c65701475a (patch) | |
tree | c50e98d93dd30819a249589467ddd03fbe340f05 /target/i386/cpu.c | |
parent | 56bb24e543f9ddd27c74178f3398b7a1dbb2742a (diff) | |
download | qemu-f429dbf8fc526a9cacf531176b28d0c65701475a.zip qemu-f429dbf8fc526a9cacf531176b28d0c65701475a.tar.gz qemu-f429dbf8fc526a9cacf531176b28d0c65701475a.tar.bz2 |
i386/cpu: Remove AVX_VNNI feature from Cooperlake cpu model
The AVX_VNNI feature is not in Cooperlake platform, remove it
from cpu model.
Signed-off-by: Yang Zhong <yang.zhong@intel.com>
Message-Id: <20210820054611.84303-1-yang.zhong@intel.com>
Fixes: c1826ea6a052 ("i386/cpu: Expose AVX_VNNI instruction to guest")
Cc: qemu-stable@nongnu.org
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'target/i386/cpu.c')
-rw-r--r-- | target/i386/cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/i386/cpu.c b/target/i386/cpu.c index aebf81d..97e250e 100644 --- a/target/i386/cpu.c +++ b/target/i386/cpu.c @@ -3102,7 +3102,7 @@ static const X86CPUDefinition builtin_x86_defs[] = { MSR_ARCH_CAP_SKIP_L1DFL_VMENTRY | MSR_ARCH_CAP_MDS_NO | MSR_ARCH_CAP_PSCHANGE_MC_NO | MSR_ARCH_CAP_TAA_NO, .features[FEAT_7_1_EAX] = - CPUID_7_1_EAX_AVX_VNNI | CPUID_7_1_EAX_AVX512_BF16, + CPUID_7_1_EAX_AVX512_BF16, /* XSAVES is added in version 2 */ .features[FEAT_XSAVE] = CPUID_XSAVE_XSAVEOPT | CPUID_XSAVE_XSAVEC | |