Blame SOURCES/kvm-machine-compat-pci_bridge-shpc-always-enable.patch

4a2fec
From 229441f111066fb4340ac6ae49cf26db2f81b884 Mon Sep 17 00:00:00 2001
4a2fec
From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
4a2fec
Date: Fri, 3 Nov 2017 13:03:42 +0100
4a2fec
Subject: [PATCH 5/9] machine compat: pci_bridge/shpc always enable
4a2fec
4a2fec
RH-Author: Dr. David Alan Gilbert <dgilbert@redhat.com>
4a2fec
Message-id: <20171103130342.9839-1-dgilbert@redhat.com>
4a2fec
Patchwork-id: 77494
4a2fec
O-Subject: [RHEL-7.5 qemu-kvm-rhev PATCH 1/1] machine compat: pci_bridge/shpc always enable
4a2fec
Bugzilla: 1508271
4a2fec
RH-Acked-by: Marcel Apfelbaum <marcel@redhat.com>
4a2fec
RH-Acked-by: Laurent Vivier <lvivier@redhat.com>
4a2fec
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
4a2fec
4a2fec
From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
4a2fec
4a2fec
The 'shpc' property on bridges has changed its default back and
4a2fec
forward.
4a2fec
Upstream it's off on 2.9 machine types but on for all the others
4a2fec
(upstream dc0ae767 turned it off, 2fa35662 reverted it).
4a2fec
Downstream we always had it on, even for 7.4 that was derived from
4a2fec
2.9.
4a2fec
Unfortunately we imported the 2.9 entry that turned it off, which
4a2fec
breaks migration.  Remove that entry, shpc is now on again for
4a2fec
all our machine types.
4a2fec
4a2fec
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
4a2fec
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
4a2fec
---
4a2fec
 include/hw/compat.h | 4 ----
4a2fec
 1 file changed, 4 deletions(-)
4a2fec
4a2fec
diff --git a/include/hw/compat.h b/include/hw/compat.h
4a2fec
index 85c6cbe..7a2a4a6 100644
4a2fec
--- a/include/hw/compat.h
4a2fec
+++ b/include/hw/compat.h
4a2fec
@@ -419,10 +419,6 @@
4a2fec
  */
4a2fec
 #define HW_COMPAT_RHEL7_4 \
4a2fec
     { /* HW_COMPAT_RHEL7_4 */ \
4a2fec
-        .driver   = "pci-bridge",\
4a2fec
-        .property = "shpc",\
4a2fec
-        .value    = "off",\
4a2fec
-    },{ /* HW_COMPAT_RHEL7_4 */ \
4a2fec
         .driver   = "intel-iommu",\
4a2fec
         .property = "pt",\
4a2fec
         .value    = "off",\
4a2fec
-- 
4a2fec
1.8.3.1
4a2fec