[Qemu-devel] [PATCH v3 11/12] intel_iommu: turn off pt before 2.9

Peter Xu posted 12 patches 8 years, 9 months ago
There is a newer version of this series
[Qemu-devel] [PATCH v3 11/12] intel_iommu: turn off pt before 2.9
Posted by Peter Xu 8 years, 9 months ago
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 --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 \
     {\
-- 
2.7.4