Blame SOURCES/kvm-pcie_root_port-Fix-x-migrate-msix-compat.patch

4a2fec
From 917c9e7df753cd941ddb6f8a8212bd1a45bf3d09 Mon Sep 17 00:00:00 2001
4a2fec
From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
4a2fec
Date: Wed, 15 Nov 2017 12:29:19 +0100
4a2fec
Subject: [PATCH 05/30] pcie_root_port: Fix x-migrate-msix compat
4a2fec
4a2fec
RH-Author: Dr. David Alan Gilbert <dgilbert@redhat.com>
4a2fec
Message-id: <20171115122920.7207-2-dgilbert@redhat.com>
4a2fec
Patchwork-id: 77679
4a2fec
O-Subject: [RHEL-7.5 qemu-kvm-rhev PATCH 1/2] pcie_root_port: Fix x-migrate-msix compat
4a2fec
Bugzilla: 1511312
4a2fec
RH-Acked-by: Marcel Apfelbaum <marcel@redhat.com>
4a2fec
RH-Acked-by: Laurent Vivier <lvivier@redhat.com>
4a2fec
RH-Acked-by: Laszlo Ersek <lersek@redhat.com>
4a2fec
4a2fec
From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
4a2fec
4a2fec
2.9 gained a property, x-migrate-msix, on pcie-root-ports
4a2fec
to enable migration of the msix data, it defaulted to on but
4a2fec
was marked as off for backwards compatibility on old machine
4a2fec
types.  We picked up this compatibility entry for
4a2fec
HW_COMPAT_RHEL7_4.
4a2fec
4a2fec
However, this had already been backported to 7.4
4a2fec
(b131cb258ae, bz 1455150) and since this device was new downstream
4a2fec
in 7.4 there was no need for a compatibility entry.
4a2fec
4a2fec
Remove the compatibility entry so that x-migrate-msix is true
4a2fec
for all our machine types just like it is in 7.4.
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 | 8 ++------
4a2fec
 1 file changed, 2 insertions(+), 6 deletions(-)
4a2fec
4a2fec
diff --git a/include/hw/compat.h b/include/hw/compat.h
4a2fec
index 7a2a4a6..3f9d356 100644
4a2fec
--- a/include/hw/compat.h
4a2fec
+++ b/include/hw/compat.h
4a2fec
@@ -414,18 +414,14 @@
4a2fec
     },
4a2fec
 
4a2fec
 /* Mostly like HW_COMPAT_2_9 except
4a2fec
- * x-mtu-bypass-backend has already been
4a2fec
- * backported to RHEL7.4
4a2fec
+ * x-mtu-bypass-backend, x-migrate-msix has already been
4a2fec
+ * backported to RHEL7.4. shpc was already on in 7.4.
4a2fec
  */
4a2fec
 #define HW_COMPAT_RHEL7_4 \
4a2fec
     { /* HW_COMPAT_RHEL7_4 */ \
4a2fec
         .driver   = "intel-iommu",\
4a2fec
         .property = "pt",\
4a2fec
         .value    = "off",\
4a2fec
-    },{ /* HW_COMPAT_RHEL7_4 */ \
4a2fec
-        .driver   = "pcie-root-port",\
4a2fec
-        .property = "x-migrate-msix",\
4a2fec
-        .value    = "false",\
4a2fec
     },
4a2fec
 
4a2fec
 #endif /* HW_COMPAT_H */
4a2fec
-- 
4a2fec
1.8.3.1
4a2fec