summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRadim Krčmář2016-10-10 17:28:46 +0200
committerEduardo Habkost2016-10-17 19:44:49 +0200
commite6b6af05607a8bc828c454f6830b5fc68e5a9ac1 (patch)
tree6bbcc04d1ace0c720747f24ad4bf605cac918a92 /include
parentintel_iommu: redo configuraton check in realize (diff)
downloadqemu-e6b6af05607a8bc828c454f6830b5fc68e5a9ac1.tar.gz
qemu-e6b6af05607a8bc828c454f6830b5fc68e5a9ac1.tar.xz
qemu-e6b6af05607a8bc828c454f6830b5fc68e5a9ac1.zip
intel_iommu: add OnOffAuto intr_eim as "eim" property
The default (auto) emulates the current behavior. A user can now control EIM like -device intel-iommu,intremap=on,eim=off Reviewed-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Peter Xu <peterx@redhat.com> Signed-off-by: Radim Krčmář <rkrcmar@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/hw/i386/intel_iommu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/i386/intel_iommu.h b/include/hw/i386/intel_iommu.h
index a42dbd745a..b5ac60927b 100644
--- a/include/hw/i386/intel_iommu.h
+++ b/include/hw/i386/intel_iommu.h
@@ -289,6 +289,7 @@ struct IntelIOMMUState {
dma_addr_t intr_root; /* Interrupt remapping table pointer */
uint32_t intr_size; /* Number of IR table entries */
bool intr_eime; /* Extended interrupt mode enabled */
+ OnOffAuto intr_eim; /* Toggle for EIM cabability */
};
/* Find the VTD Address space associated with the given bus pointer,