dfe0f20048
- kvm-i386-kvm-Disable-arch_capabilities-if-MSR-can-t-be-s.patch [bz#1687578] - kvm-i386-Make-arch_capabilities-migratable.patch [bz#1687578] - Resolves: bz#1687578 (Incorrect CVE vulnerabilities reported on Cascade Lake cpus)
43 lines
1.5 KiB
Diff
43 lines
1.5 KiB
Diff
From f906636aa5024f6e64e2a1802b2eca448085d06a Mon Sep 17 00:00:00 2001
|
|
From: Eduardo Habkost <ehabkost@redhat.com>
|
|
Date: Wed, 10 Apr 2019 20:50:03 +0100
|
|
Subject: [PATCH 2/2] i386: Make arch_capabilities migratable
|
|
|
|
RH-Author: Eduardo Habkost <ehabkost@redhat.com>
|
|
Message-id: <20190410205003.18916-3-ehabkost@redhat.com>
|
|
Patchwork-id: 85551
|
|
O-Subject: [RHEL-AV-8.0.1 qemu-kvm PATCH 2/2] i386: Make arch_capabilities migratable
|
|
Bugzilla: 1687578
|
|
RH-Acked-by: Paolo Bonzini <pbonzini@redhat.com>
|
|
RH-Acked-by: Igor Mammedov <imammedo@redhat.com>
|
|
|
|
Now that kvm_arch_get_supported_cpuid() will only return
|
|
arch_capabilities if QEMU is able to initialize the MSR properly,
|
|
we know that the feature is safely migratable.
|
|
|
|
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
|
|
Message-Id: <20190125220606.4864-3-ehabkost@redhat.com>
|
|
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
|
|
(cherry picked from commit 014018e19b3c54dd1bf5072bc912ceffea40abe8)
|
|
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
|
|
Signed-off-by: Danilo C. L. de Paula <ddepaula@redhat.com>
|
|
---
|
|
target/i386/cpu.c | 1 -
|
|
1 file changed, 1 deletion(-)
|
|
|
|
diff --git a/target/i386/cpu.c b/target/i386/cpu.c
|
|
index c115572..d92c128 100644
|
|
--- a/target/i386/cpu.c
|
|
+++ b/target/i386/cpu.c
|
|
@@ -1088,7 +1088,6 @@ static FeatureWordInfo feature_word_info[FEATURE_WORDS] = {
|
|
.reg = R_EDX,
|
|
},
|
|
.tcg_features = TCG_7_0_EDX_FEATURES,
|
|
- .unmigratable_flags = CPUID_7_0_EDX_ARCH_CAPABILITIES,
|
|
},
|
|
[FEAT_8000_0007_EDX] = {
|
|
.type = CPUID_FEATURE_WORD,
|
|
--
|
|
1.8.3.1
|
|
|