summaryrefslogtreecommitdiffstats
path: root/hw/i386/intel_iommu_internal.h
diff options
context:
space:
mode:
authorPeter Xu2016-07-14 07:56:16 +0200
committerMichael S. Tsirkin2016-07-20 18:30:27 +0200
commitd54bd7f80a5cf7dc5242f745d4c9542c822a81f3 (patch)
tree898bc1e3f20aef72e5342adbf9906e8d2223d657 /hw/i386/intel_iommu_internal.h
parentintel_iommu: allow queued invalidation for IR (diff)
downloadqemu-d54bd7f80a5cf7dc5242f745d4c9542c822a81f3.tar.gz
qemu-d54bd7f80a5cf7dc5242f745d4c9542c822a81f3.tar.xz
qemu-d54bd7f80a5cf7dc5242f745d4c9542c822a81f3.zip
intel_iommu: set IR bit for ECAP register
Enable IR in IOMMU Extended Capability register. 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>
Diffstat (limited to 'hw/i386/intel_iommu_internal.h')
-rw-r--r--hw/i386/intel_iommu_internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/i386/intel_iommu_internal.h b/hw/i386/intel_iommu_internal.h
index b648e694cd..5b98a1143c 100644
--- a/hw/i386/intel_iommu_internal.h
+++ b/hw/i386/intel_iommu_internal.h
@@ -176,6 +176,8 @@
/* (offset >> 4) << 8 */
#define VTD_ECAP_IRO (DMAR_IOTLB_REG_OFFSET << 4)
#define VTD_ECAP_QI (1ULL << 1)
+/* Interrupt Remapping support */
+#define VTD_ECAP_IR (1ULL << 3)
/* CAP_REG */
/* (offset >> 4) << 24 */