yeahuh / rpms / qemu-kvm

Forked from rpms/qemu-kvm 2 years ago
Clone
b38b0f
From 31194033bdc6f379edebe9fa818536d478a629f0 Mon Sep 17 00:00:00 2001
69f3e1
From: "plai@redhat.com" <plai@redhat.com>
b38b0f
Date: Thu, 16 May 2019 20:44:02 +0100
b38b0f
Subject: [PATCH 1/8] i386: Make arch_capabilities migratable
69f3e1
69f3e1
RH-Author: plai@redhat.com
b38b0f
Message-id: <1558039442-5246-1-git-send-email-plai@redhat.com>
b38b0f
Patchwork-id: 87976
b38b0f
O-Subject: [RHEL8.1 qemu-kvm PATCH v2] i386: Make arch_capabilities migratable
b38b0f
Bugzilla: 1709970
69f3e1
RH-Acked-by: Eduardo Habkost <ehabkost@redhat.com>
b38b0f
RH-Acked-by: Bandan Das <bsd@redhat.com>
69f3e1
RH-Acked-by: Igor Mammedov <imammedo@redhat.com>
69f3e1
69f3e1
From: Eduardo Habkost <ehabkost@redhat.com>
69f3e1
b38b0f
BZ https://bugzilla.redhat.com/show_bug.cgi?id=1709970
b38b0f
Brew: http://brewweb.devel.redhat.com/brew/taskinfo?taskID=21668672
b38b0f
Branch: rhel-8.1.0
b38b0f
b38b0f
In v1, we included CascadeLake Server cpu model.  That has been removed
b38b0f
in favor a separate submission.
b38b0f
b38b0f
---
b38b0f
69f3e1
Now that kvm_arch_get_supported_cpuid() will only return
69f3e1
arch_capabilities if QEMU is able to initialize the MSR properly,
69f3e1
we know that the feature is safely migratable.
69f3e1
69f3e1
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
69f3e1
Message-Id: <20190125220606.4864-3-ehabkost@redhat.com>
69f3e1
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
69f3e1
(cherry picked from commit 014018e19b3c54dd1bf5072bc912ceffea40abe8)
69f3e1
Signed-off-by: Paul Lai <plai@redhat.com>
69f3e1
Signed-off-by: Danilo C. L. de Paula <ddepaula@redhat.com>
69f3e1
---
69f3e1
 target/i386/cpu.c | 1 -
69f3e1
 1 file changed, 1 deletion(-)
69f3e1
69f3e1
diff --git a/target/i386/cpu.c b/target/i386/cpu.c
b38b0f
index e9025cd..4411012 100644
69f3e1
--- a/target/i386/cpu.c
69f3e1
+++ b/target/i386/cpu.c
69f3e1
@@ -1053,7 +1053,6 @@ static FeatureWordInfo feature_word_info[FEATURE_WORDS] = {
69f3e1
             .reg = R_EDX,
69f3e1
         },
69f3e1
         .tcg_features = TCG_7_0_EDX_FEATURES,
69f3e1
-        .unmigratable_flags = CPUID_7_0_EDX_ARCH_CAPABILITIES,
69f3e1
     },
69f3e1
     [FEAT_8000_0007_EDX] = {
69f3e1
         .type = CPUID_FEATURE_WORD,
69f3e1
-- 
69f3e1
1.8.3.1
69f3e1