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