summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPeter Xu2016-07-14 07:56:14 +0200
committerMichael S. Tsirkin2016-07-20 18:30:27 +0200
commitd46114f9ec40e714ae3fa17c446890d369c32812 (patch)
tree9f757a1c72e1bea7e38248e1721459ccb192d602 /include
parentx86-iommu: introduce "intremap" property (diff)
downloadqemu-d46114f9ec40e714ae3fa17c446890d369c32812.tar.gz
qemu-d46114f9ec40e714ae3fa17c446890d369c32812.tar.xz
qemu-d46114f9ec40e714ae3fa17c446890d369c32812.zip
acpi: enable INTR for DMAR report structure
In ACPI DMA remapping report structure, enable INTR flag when specified. 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 'include')
-rw-r--r--include/hw/i386/intel_iommu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/i386/intel_iommu.h b/include/hw/i386/intel_iommu.h
index 07943092b4..741242e1e6 100644
--- a/include/hw/i386/intel_iommu.h
+++ b/include/hw/i386/intel_iommu.h
@@ -44,6 +44,8 @@
#define VTD_HOST_ADDRESS_WIDTH 39
#define VTD_HAW_MASK ((1ULL << VTD_HOST_ADDRESS_WIDTH) - 1)
+#define DMAR_REPORT_F_INTR (1)
+
typedef struct VTDContextEntry VTDContextEntry;
typedef struct VTDContextCacheEntry VTDContextCacheEntry;
typedef struct IntelIOMMUState IntelIOMMUState;