yeahuh / rpms / qemu-kvm

Forked from rpms/qemu-kvm 2 years ago
Clone
26ba25
From a2721f63de158e00dda6b043ae8465fb31b8a619 Mon Sep 17 00:00:00 2001
26ba25
From: Vitaly Kuznetsov <vkuznets@redhat.com>
26ba25
Date: Wed, 5 Sep 2018 09:41:52 +0100
26ba25
Subject: [PATCH 1/4] Re-enable disabled Hyper-V enlightenments
26ba25
26ba25
RH-Author: Vitaly Kuznetsov <vkuznets@redhat.com>
26ba25
Message-id: <20180905094152.31940-1-vkuznets@redhat.com>
26ba25
Patchwork-id: 82051
26ba25
O-Subject: [qemu-kvm RHEL8/virt212 PATCH] Re-enable disabled Hyper-V enlightenments
26ba25
Bugzilla: 1625185
26ba25
RH-Acked-by: Laszlo Ersek <lersek@redhat.com>
26ba25
RH-Acked-by: vrozenfe <vrozenfe@redhat.com>
26ba25
RH-Acked-by: Eduardo Otubo <otubo@redhat.com>
26ba25
26ba25
BZ: 1625185
26ba25
BRANCH:rhel8/master-2.12.0
26ba25
UPSTREAM: downstream only
26ba25
BREW: 18157023
26ba25
26ba25
Partially revert 0d70915c93d. With the latest Win10 update stimer/synic
26ba25
enlightenments are a must (see BZ#1610461), vpindex is needed for the
26ba25
upcoming PV TLB flush/IPI support, reset and runtime are enabled for
26ba25
consistency with upstream (there's no benefit in disabling them).
26ba25
26ba25
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
26ba25
Signed-off-by: Danilo C. L. de Paula <ddepaula@redhat.com>
26ba25
---
26ba25
 target/i386/cpu.c | 2 --
26ba25
 1 file changed, 2 deletions(-)
26ba25
26ba25
diff --git a/target/i386/cpu.c b/target/i386/cpu.c
26ba25
index e16dba7..0215b20 100644
26ba25
--- a/target/i386/cpu.c
26ba25
+++ b/target/i386/cpu.c
26ba25
@@ -5366,13 +5366,11 @@ static Property x86_cpu_properties[] = {
26ba25
     DEFINE_PROP_BOOL("hv-vapic", X86CPU, hyperv_vapic, false),
26ba25
     DEFINE_PROP_BOOL("hv-time", X86CPU, hyperv_time, false),
26ba25
     DEFINE_PROP_BOOL("hv-crash", X86CPU, hyperv_crash, false),
26ba25
-#if 0 /* Disabled for Red Hat Enterprise Linux */
26ba25
     DEFINE_PROP_BOOL("hv-reset", X86CPU, hyperv_reset, false),
26ba25
     DEFINE_PROP_BOOL("hv-vpindex", X86CPU, hyperv_vpindex, false),
26ba25
     DEFINE_PROP_BOOL("hv-runtime", X86CPU, hyperv_runtime, false),
26ba25
     DEFINE_PROP_BOOL("hv-synic", X86CPU, hyperv_synic, false),
26ba25
     DEFINE_PROP_BOOL("hv-stimer", X86CPU, hyperv_stimer, false),
26ba25
-#endif
26ba25
     DEFINE_PROP_BOOL("hv-frequencies", X86CPU, hyperv_frequencies, false),
26ba25
     DEFINE_PROP_BOOL("check", X86CPU, check_cpuid, true),
26ba25
     DEFINE_PROP_BOOL("enforce", X86CPU, enforce_cpuid, false),
26ba25
-- 
26ba25
1.8.3.1
26ba25