|
|
a83cc2 |
From a9546384e1fe8b4dad9ab00c52f45dac3a8fbc00 Mon Sep 17 00:00:00 2001
|
|
|
a83cc2 |
From: Vitaly Kuznetsov <vkuznets@redhat.com>
|
|
|
a83cc2 |
Date: Tue, 8 Jun 2021 10:29:07 -0400
|
|
|
a83cc2 |
Subject: [PATCH 04/12] redhat: x86: Enable 'kvm-asyncpf-int' by default
|
|
|
a83cc2 |
MIME-Version: 1.0
|
|
|
a83cc2 |
Content-Type: text/plain; charset=UTF-8
|
|
|
a83cc2 |
Content-Transfer-Encoding: 8bit
|
|
|
a83cc2 |
|
|
|
a83cc2 |
RH-Author: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
a83cc2 |
RH-MergeRequest: 16: Synchronize with RHEL-AV 8.5 release 21 to RHEL 9
|
|
|
a83cc2 |
RH-Commit: [2/8] 2ea940445291df74dfed2d2f9f2b1f88a3eca31b (mrezanin/centos-src-qemu-kvm)
|
|
|
a83cc2 |
RH-Bugzilla: 1957194
|
|
|
a83cc2 |
RH-Acked-by: Vitaly Kuznetsov <vkuznets@redhat.com>
|
|
|
a83cc2 |
RH-Acked-by: Daniel P. Berrangé <berrange@redhat.com>
|
|
|
a83cc2 |
|
|
|
a83cc2 |
'kvm-asyncpf-int' feature is supported by KVM starting with RHEL-8.4
|
|
|
a83cc2 |
kernel, enable the feature by default starting with RHEL-8.5 machine
|
|
|
a83cc2 |
type.
|
|
|
a83cc2 |
|
|
|
a83cc2 |
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
|
|
|
a83cc2 |
Signed-off-by: Danilo C. L. de Paula <ddepaula@redhat.com>
|
|
|
a83cc2 |
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
a83cc2 |
---
|
|
|
a83cc2 |
hw/i386/pc.c | 3 +++
|
|
|
a83cc2 |
1 file changed, 3 insertions(+)
|
|
|
a83cc2 |
|
|
|
a83cc2 |
diff --git a/hw/i386/pc.c b/hw/i386/pc.c
|
|
|
a83cc2 |
index 0a374dec39..cdbfa84d2e 100644
|
|
|
a83cc2 |
--- a/hw/i386/pc.c
|
|
|
a83cc2 |
+++ b/hw/i386/pc.c
|
|
|
a83cc2 |
@@ -366,12 +366,15 @@ GlobalProperty pc_rhel_compat[] = {
|
|
|
a83cc2 |
{ TYPE_X86_CPU, "vmx-exit-load-perf-global-ctrl", "off" },
|
|
|
a83cc2 |
/* bz 1508330 */
|
|
|
a83cc2 |
{ "vfio-pci", "x-no-geforce-quirks", "on" },
|
|
|
a83cc2 |
+ /* bz 1941397 */
|
|
|
a83cc2 |
+ { TYPE_X86_CPU, "kvm-asyncpf-int", "on" },
|
|
|
a83cc2 |
};
|
|
|
a83cc2 |
const size_t pc_rhel_compat_len = G_N_ELEMENTS(pc_rhel_compat);
|
|
|
a83cc2 |
|
|
|
a83cc2 |
GlobalProperty pc_rhel_8_4_compat[] = {
|
|
|
a83cc2 |
/* pc_rhel_8_4_compat from pc_compat_5_2 */
|
|
|
a83cc2 |
{ "ICH9-LPC", "x-smi-cpu-hotunplug", "off" },
|
|
|
a83cc2 |
+ { TYPE_X86_CPU, "kvm-asyncpf-int", "off" },
|
|
|
a83cc2 |
};
|
|
|
a83cc2 |
const size_t pc_rhel_8_4_compat_len = G_N_ELEMENTS(pc_rhel_8_4_compat);
|
|
|
a83cc2 |
|
|
|
a83cc2 |
--
|
|
|
a83cc2 |
2.27.0
|
|
|
a83cc2 |
|