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