summaryrefslogtreecommitdiffstats
path: root/include/hw
diff options
context:
space:
mode:
authorPeter Xu2017-05-19 05:19:48 +0200
committerMichael S. Tsirkin2017-05-25 20:25:28 +0200
commitc10595fb348d3fe6991fe9750834bd2ab16d3190 (patch)
treebae093f9fe8e4975b47cb13f1eac90a96d4979e1 /include/hw
parentintel_iommu: support passthrough (PT) (diff)
downloadqemu-c10595fb348d3fe6991fe9750834bd2ab16d3190.tar.gz
qemu-c10595fb348d3fe6991fe9750834bd2ab16d3190.tar.xz
qemu-c10595fb348d3fe6991fe9750834bd2ab16d3190.zip
intel_iommu: turn off pt before 2.9
This is for compatibility. Signed-off-by: Peter Xu <peterx@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'include/hw')
-rw-r--r--include/hw/compat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/hw/compat.h b/include/hw/compat.h
index 55b176507a..4c53d600c1 100644
--- a/include/hw/compat.h
+++ b/include/hw/compat.h
@@ -6,6 +6,10 @@
.driver = "pci-bridge",\
.property = "shpc",\
.value = "off",\
+ },{\
+ .driver = "intel-iommu",\
+ .property = "pt",\
+ .value = "off",\
},
#define HW_COMPAT_2_8 \