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