Blame SOURCES/kvm-Re-enable-disabled-Hyper-V-enlightenments.patch

383d26
From 5967994372c21a8504d7f1b7a61275a647a52c52 Mon Sep 17 00:00:00 2001
383d26
From: Vitaly Kuznetsov <vkuznets@redhat.com>
383d26
Date: Fri, 12 Oct 2018 07:44:45 +0200
383d26
Subject: [PATCH] Re-enable disabled Hyper-V enlightenments
383d26
383d26
RH-Author: Vitaly Kuznetsov <vkuznets@redhat.com>
383d26
Message-id: <20181012074445.29864-1-vkuznets@redhat.com>
383d26
Patchwork-id: 82672
383d26
O-Subject: [RHEL7.7 qemu-kvm-rhev PATCH] Re-enable disabled Hyper-V enlightenments
383d26
Bugzilla: 1638835
383d26
RH-Acked-by: Paolo Bonzini <pbonzini@redhat.com>
383d26
RH-Acked-by: vrozenfe <vrozenfe@redhat.com>
383d26
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
383d26
383d26
RHEL-only.
383d26
383d26
With the latest Win10 update stimer/synic enlightenments are a must, the
383d26
rest is re-enabled for consistency.
383d26
383d26
Partially revert 9746c405955 ("Enable/disable devices for RHEL 7").
383d26
383d26
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
383d26
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
383d26
---
383d26
 target/i386/cpu.c | 2 --
383d26
 1 file changed, 2 deletions(-)
383d26
383d26
diff --git a/target/i386/cpu.c b/target/i386/cpu.c
383d26
index 91f5a97..8454532 100644
383d26
--- a/target/i386/cpu.c
383d26
+++ b/target/i386/cpu.c
383d26
@@ -5366,13 +5366,11 @@ static Property x86_cpu_properties[] = {
383d26
     DEFINE_PROP_BOOL("hv-vapic", X86CPU, hyperv_vapic, false),
383d26
     DEFINE_PROP_BOOL("hv-time", X86CPU, hyperv_time, false),
383d26
     DEFINE_PROP_BOOL("hv-crash", X86CPU, hyperv_crash, false),
383d26
-#if 0 /* Disabled for Red Hat Enterprise Linux */
383d26
     DEFINE_PROP_BOOL("hv-reset", X86CPU, hyperv_reset, false),
383d26
     DEFINE_PROP_BOOL("hv-vpindex", X86CPU, hyperv_vpindex, false),
383d26
     DEFINE_PROP_BOOL("hv-runtime", X86CPU, hyperv_runtime, false),
383d26
     DEFINE_PROP_BOOL("hv-synic", X86CPU, hyperv_synic, false),
383d26
     DEFINE_PROP_BOOL("hv-stimer", X86CPU, hyperv_stimer, false),
383d26
-#endif
383d26
     DEFINE_PROP_BOOL("hv-frequencies", X86CPU, hyperv_frequencies, false),
383d26
     DEFINE_PROP_BOOL("check", X86CPU, check_cpuid, true),
383d26
     DEFINE_PROP_BOOL("enforce", X86CPU, enforce_cpuid, false),
383d26
-- 
383d26
1.8.3.1
383d26