diff mbox

[v3,11/12] intel_iommu: turn off pt before 2.9

Message ID 1494403315-12760-12-git-send-email-peterx@redhat.com
State New
Headers show

Commit Message

Peter Xu May 10, 2017, 8:01 a.m. UTC
This is for compatibility.

Signed-off-by: Peter Xu <peterx@redhat.com>
---
 include/hw/compat.h | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
diff mbox

Patch

diff --git a/include/hw/compat.h b/include/hw/compat.h
index 846b90e..ff08ec8 100644
--- a/include/hw/compat.h
+++ b/include/hw/compat.h
@@ -2,7 +2,11 @@ 
 #define HW_COMPAT_H
 
 #define HW_COMPAT_2_9 \
-    /* empty */
+    {\
+        .driver   = "intel-iommu",\
+        .property = "pt",\
+        .value    = "off",\
+    },
 
 #define HW_COMPAT_2_8 \
     {\