i386/cpu: Remove AVX_VNNI feature from Cooperlake cpu model
PATCH 1/1 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 <[email protected]>
--- target/i386/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
target/i386/cpu.c +1 -1
@@ -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 |
Eduardo Habkost
AppliedQuoted 4 lines · Yang Zhong
The
AVX_VNNIfeature is not in Cooperlake platform, remove it from cpu model.Signed-off-by Yang Zhong <[email protected]>
Fixes c1826ea6a052 ("i386/cpu: Expose AVX_VNNI instruction to guest")
Queued, thanks!
Signature · 1 line
Eduardo