render / rpms / libvirt

Forked from rpms/libvirt 7 months ago
Clone
99cbc7
From ead15fe7a0cd60eb91ff7744b24af15b6c122239 Mon Sep 17 00:00:00 2001
99cbc7
Message-Id: <ead15fe7a0cd60eb91ff7744b24af15b6c122239@dist-git>
99cbc7
From: Jiri Denemark <jdenemar@redhat.com>
99cbc7
Date: Wed, 9 Jan 2019 15:39:49 +0100
99cbc7
Subject: [PATCH] RHEL: cpu_map: Mark arch-facilities feature as non-migratable
99cbc7
MIME-Version: 1.0
99cbc7
Content-Type: text/plain; charset=UTF-8
99cbc7
Content-Transfer-Encoding: 8bit
99cbc7
99cbc7
RHEL-only
99cbc7
99cbc7
The arch-facilities feature, which was added only in RHEL, is not
99cbc7
migratable and thus it should not be included in host-model features.
99cbc7
99cbc7
The feature was introduced as arch-capabilities upstream in QEMU 3.1.0,
99cbc7
which is later than QEMU 2.10, where we started probing what features
99cbc7
cannot be migrated, so we don't need to add this cpu_map hack there.
99cbc7
99cbc7
https://bugzilla.redhat.com/show_bug.cgi?id=1658406
99cbc7
https://bugzilla.redhat.com/show_bug.cgi?id=1664793
99cbc7
99cbc7
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
99cbc7
Reviewed-by: Ján Tomko <jtomko@redhat.com>
99cbc7
---
99cbc7
 src/cpu/cpu_map.xml | 2 +-
99cbc7
 1 file changed, 1 insertion(+), 1 deletion(-)
99cbc7
99cbc7
diff --git a/src/cpu/cpu_map.xml b/src/cpu/cpu_map.xml
99cbc7
index f1f8048c14..9d53d4b43a 100644
99cbc7
--- a/src/cpu/cpu_map.xml
99cbc7
+++ b/src/cpu/cpu_map.xml
99cbc7
@@ -301,7 +301,7 @@
99cbc7
     <feature name='stibp'>
99cbc7
       <cpuid eax_in='0x07' ecx_in='0x00' edx='0x08000000'/>
99cbc7
     </feature>
99cbc7
-    <feature name='arch-facilities'>
99cbc7
+    <feature name='arch-facilities' migratable='no'>
99cbc7
       <cpuid eax_in='0x07' ecx_in='0x00' edx='0x20000000'/>
99cbc7
     </feature>
99cbc7
     <feature name='ssbd'>
99cbc7
-- 
99cbc7
2.21.0
99cbc7