thebeanogamer / rpms / qemu-kvm

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