thebeanogamer / rpms / qemu-kvm

Forked from rpms/qemu-kvm 5 months ago
Clone
9ae3a8
From 8328a7b83a78666fff5166a615e4ef5792c743f0 Mon Sep 17 00:00:00 2001
9ae3a8
From: "plai@redhat.com" <plai@redhat.com>
9ae3a8
Date: Mon, 23 Sep 2019 20:40:27 +0200
9ae3a8
Subject: [PATCH 11/12] Remove arch-capabilities deprecation
9ae3a8
9ae3a8
RH-Author: plai@redhat.com
9ae3a8
Message-id: <1569271227-28026-11-git-send-email-plai@redhat.com>
9ae3a8
Patchwork-id: 90854
9ae3a8
O-Subject: [RHEL7.8 qemu-kvm PATCH v6 10/10] Remove arch-capabilities deprecation
9ae3a8
Bugzilla: 1709971
9ae3a8
RH-Acked-by: Eduardo Habkost <ehabkost@redhat.com>
9ae3a8
RH-Acked-by: Bandan Das <bsd@redhat.com>
9ae3a8
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
9ae3a8
9ae3a8
[RHEL INTERNAL] Logic to support arch-capabilities now exists.
9ae3a8
Deprecation of arch-facilities is no longer needed.
9ae3a8
9ae3a8
fixes: arch-facilities deprecation introduced by
9ae3a8
  59c1aecdd i386: Deprecate arch-facilities and make it block live migration
9ae3a8
9ae3a8
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
9ae3a8
9ae3a8
Conflicts:
9ae3a8
	target-i386/cpu.c
9ae3a8
---
9ae3a8
 target-i386/cpu.c | 8 --------
9ae3a8
 1 file changed, 8 deletions(-)
9ae3a8
9ae3a8
diff --git a/target-i386/cpu.c b/target-i386/cpu.c
9ae3a8
index 24fc000..3ea4e97 100644
9ae3a8
--- a/target-i386/cpu.c
9ae3a8
+++ b/target-i386/cpu.c
9ae3a8
@@ -34,7 +34,6 @@
9ae3a8
 #include "qapi-visit.h"
9ae3a8
 #include "qapi/visitor.h"
9ae3a8
 #include "sysemu/arch_init.h"
9ae3a8
-#include "migration/migration.h"
9ae3a8
 
9ae3a8
 #include "hw/hw.h"
9ae3a8
 #if defined(CONFIG_KVM)
9ae3a8
@@ -1819,13 +1818,6 @@ static void kvm_cpu_fill_host(x86_def_t *x86_cpu_def)
9ae3a8
         x86_cpu_def->features[w] = x86_cpu_get_supported_feature_word(w);
9ae3a8
     }
9ae3a8
 
9ae3a8
-    /*
9ae3a8
-     * Features that won't be enabled automatically by "-cpu host" even if
9ae3a8
-     * reported by GET_SUPPORTED_CPUID:
9ae3a8
-     */
9ae3a8
-
9ae3a8
-    /* arch-facilities: deprecated (see comment on x86_cpu_realizefn()) */
9ae3a8
-    x86_cpu_def->features[FEAT_7_0_EDX] &= ~CPUID_7_0_EDX_ARCH_CAPABILITIES;
9ae3a8
     /* invtsc: not migratable, so not enabled by default */
9ae3a8
     x86_cpu_def->features[FEAT_8000_0007_EDX] &= ~CPUID_APM_INVTSC;
9ae3a8
 
9ae3a8
-- 
9ae3a8
1.8.3.1
9ae3a8