00b6d2ec43
- Replace patch to fix hardcoded binfmt handler (bsc#1186256) * Patches dropped: qemu-binfmt-conf.sh-allow-overriding-SUS.patch * Patches added: qemu-binfmt-conf.sh-should-use-F-as-shor.patch - Stable fixes from upstream * Patches added: 9pfs-fix-crash-in-v9fs_walk.patch i386-cpu-Remove-AVX_VNNI-feature-from-Co.patch plugins-do-not-limit-exported-symbols-if.patch plugins-execlog-removed-unintended-s-at-.patch qemu-sockets-fix-unix-socket-path-copy-a.patch target-i386-add-missing-bits-to-CR4_RESE.patch virtio-balloon-don-t-start-free-page-hin.patch OBS-URL: https://build.opensuse.org/request/show/919019 OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=672
33 lines
1.3 KiB
Diff
33 lines
1.3 KiB
Diff
From: Yang Zhong <yang.zhong@intel.com>
|
|
Date: Fri, 20 Aug 2021 13:46:11 +0800
|
|
Subject: i386/cpu: Remove AVX_VNNI feature from Cooperlake cpu model
|
|
|
|
Git-commit: f429dbf8fc526a9cacf531176b28d0c65701475a
|
|
|
|
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>
|
|
Signed-off-by: Jose R. Ziviani <jziviani@suse.de>
|
|
---
|
|
target/i386/cpu.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/target/i386/cpu.c b/target/i386/cpu.c
|
|
index 34a7ce865bba4dcf759c719a2bb6..24ddc5b92654534742f80ca571ce 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 |
|