|
Pablo Greco |
e6a3ae |
From 76abda27a42dfe08598b38582210f7aeb31e6685 Mon Sep 17 00:00:00 2001
|
|
Pablo Greco |
e6a3ae |
From: Paolo Bonzini <pbonzini@redhat.com>
|
|
Pablo Greco |
e6a3ae |
Date: Fri, 22 Nov 2019 11:53:46 +0000
|
|
Pablo Greco |
e6a3ae |
Subject: [PATCH 13/16] target/i386: adjust for missing VMX features
|
|
Pablo Greco |
e6a3ae |
|
|
Pablo Greco |
e6a3ae |
RH-Author: Paolo Bonzini <pbonzini@redhat.com>
|
|
Pablo Greco |
e6a3ae |
Message-id: <20191122115348.25000-14-pbonzini@redhat.com>
|
|
Pablo Greco |
e6a3ae |
Patchwork-id: 92611
|
|
Pablo Greco |
e6a3ae |
O-Subject: [RHEL8.2/rhel qemu-kvm PATCH 13/15] target/i386: adjust for missing VMX features
|
|
Pablo Greco |
e6a3ae |
Bugzilla: 1689270
|
|
Pablo Greco |
e6a3ae |
RH-Acked-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
|
|
Pablo Greco |
e6a3ae |
RH-Acked-by: Eduardo Habkost <ehabkost@redhat.com>
|
|
Pablo Greco |
e6a3ae |
RH-Acked-by: Maxim Levitsky <mlevitsk@redhat.com>
|
|
Pablo Greco |
e6a3ae |
|
|
Pablo Greco |
e6a3ae |
vmx-exit-load-perf-global-ctrl and vmx-entry-load-perf-global-ctrl
|
|
Pablo Greco |
e6a3ae |
have only been added to kernel 5.4, so disable them in RHEL until
|
|
Pablo Greco |
e6a3ae |
we add them to the kernel. At that point, they could be added back
|
|
Pablo Greco |
e6a3ae |
to a new machine type.
|
|
Pablo Greco |
e6a3ae |
|
|
Pablo Greco |
e6a3ae |
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|
|
Pablo Greco |
e6a3ae |
Signed-off-by: Danilo C. L. de Paula <ddepaula@redhat.com>
|
|
Pablo Greco |
e6a3ae |
---
|
|
Pablo Greco |
e6a3ae |
include/hw/i386/pc.h | 10 ++++++++++
|
|
Pablo Greco |
e6a3ae |
1 file changed, 10 insertions(+)
|
|
Pablo Greco |
e6a3ae |
|
|
Pablo Greco |
e6a3ae |
diff --git a/include/hw/i386/pc.h b/include/hw/i386/pc.h
|
|
Pablo Greco |
e6a3ae |
index 88ffd40..b546aed 100644
|
|
Pablo Greco |
e6a3ae |
--- a/include/hw/i386/pc.h
|
|
Pablo Greco |
e6a3ae |
+++ b/include/hw/i386/pc.h
|
|
Pablo Greco |
e6a3ae |
@@ -968,6 +968,16 @@ extern void igd_passthrough_isa_bridge_create(PCIBus *bus, uint16_t gpu_dev_id);
|
|
Pablo Greco |
e6a3ae |
#define PC_RHEL_COMPAT \
|
|
Pablo Greco |
e6a3ae |
{ /* PC_RHEL_COMPAT */ \
|
|
Pablo Greco |
e6a3ae |
.driver = TYPE_X86_CPU,\
|
|
Pablo Greco |
e6a3ae |
+ .property = "vmx-exit-load-perf-global-ctrl",\
|
|
Pablo Greco |
e6a3ae |
+ .value = "off",\
|
|
Pablo Greco |
e6a3ae |
+ },\
|
|
Pablo Greco |
e6a3ae |
+ { /* PC_RHEL_COMPAT */ \
|
|
Pablo Greco |
e6a3ae |
+ .driver = TYPE_X86_CPU,\
|
|
Pablo Greco |
e6a3ae |
+ .property = "vmx-entry-load-perf-global-ctrl",\
|
|
Pablo Greco |
e6a3ae |
+ .value = "off",\
|
|
Pablo Greco |
e6a3ae |
+ },\
|
|
Pablo Greco |
e6a3ae |
+ { /* PC_RHEL_COMPAT */ \
|
|
Pablo Greco |
e6a3ae |
+ .driver = TYPE_X86_CPU,\
|
|
Pablo Greco |
e6a3ae |
.property = "host-phys-bits",\
|
|
Pablo Greco |
e6a3ae |
.value = "on",\
|
|
Pablo Greco |
e6a3ae |
},\
|
|
Pablo Greco |
e6a3ae |
--
|
|
Pablo Greco |
e6a3ae |
1.8.3.1
|
|
Pablo Greco |
e6a3ae |
|