Blame SOURCES/kvm-redhat-define-HW_COMPAT_RHEL7_4.patch

9bac43
From ea157600dac6db592419ad9a8562ad86a8103627 Mon Sep 17 00:00:00 2001
9bac43
From: Laurent Vivier <lvivier@redhat.com>
9bac43
Date: Mon, 9 Oct 2017 14:23:15 +0200
9bac43
Subject: [PATCH 06/69] redhat: define HW_COMPAT_RHEL7_4
9bac43
9bac43
RH-Author: Laurent Vivier <lvivier@redhat.com>
9bac43
Message-id: <20171009142318.6262-2-lvivier@redhat.com>
9bac43
Patchwork-id: 77033
9bac43
O-Subject: [RHV7.5 qemu-kvm-rhev PATCH 1/4] redhat: define HW_COMPAT_RHEL7_4
9bac43
Bugzilla: 1478478
9bac43
RH-Acked-by: David Gibson <dgibson@redhat.com>
9bac43
RH-Acked-by: Thomas Huth <thuth@redhat.com>
9bac43
RH-Acked-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
9bac43
9bac43
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
9bac43
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
9bac43
---
9bac43
 include/hw/compat.h | 19 +++++++++++++++++++
9bac43
 1 file changed, 19 insertions(+)
9bac43
9bac43
diff --git a/include/hw/compat.h b/include/hw/compat.h
9bac43
index aa616e3..85c6cbe 100644
9bac43
--- a/include/hw/compat.h
9bac43
+++ b/include/hw/compat.h
9bac43
@@ -413,4 +413,23 @@
9bac43
         .value    = "off",\
9bac43
     },
9bac43
 
9bac43
+/* Mostly like HW_COMPAT_2_9 except
9bac43
+ * x-mtu-bypass-backend has already been
9bac43
+ * backported to RHEL7.4
9bac43
+ */
9bac43
+#define HW_COMPAT_RHEL7_4 \
9bac43
+    { /* HW_COMPAT_RHEL7_4 */ \
9bac43
+        .driver   = "pci-bridge",\
9bac43
+        .property = "shpc",\
9bac43
+        .value    = "off",\
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