acpi: add DMAR scope definition for root IOAPIC
commitcfc13df4621ccc72e21b670cec8f03f91d9d6dcf
authorPeter Xu <peterx@redhat.com>
Thu, 14 Jul 2016 05:56:17 +0000 (14 13:56 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 20 Jul 2016 16:30:27 +0000 (20 19:30 +0300)
treefd44832d78710f28b7736f7352cc5896f67dfc3a
parentd54bd7f80a5cf7dc5242f745d4c9542c822a81f3
acpi: add DMAR scope definition for root IOAPIC

To enable interrupt remapping for intel IOMMU device, each IOAPIC device
in the system reported via ACPI MADT must be explicitly enumerated under
one specific remapping hardware unit. This patch adds the root-complex
IOAPIC into the default DMAR device.

Please refer to VT-d spec 8.3.1.1 for more information.

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>
hw/i386/acpi-build.c
include/hw/acpi/acpi-defs.h
include/hw/pci-host/q35.h