Re: [Qemu-devel] [PATCH v8 04/25] acpi: add DMAR scope definition for root IOAPIC

2016-06-01 Thread Peter Xu
On Wed, Jun 01, 2016 at 02:56:38PM +0200, Igor Mammedov wrote: [...] > > @@ -2561,6 +2563,9 @@ build_dmar_q35(MachineState *ms, GArray *table_data, > > GArray *linker) > > AcpiTableDmar *dmar; > > AcpiDmarHardwareUnit *drhd; > > uint8_t dmar_flags = 0; > > +AcpiDmarDeviceScope

Re: [Qemu-devel] [PATCH v8 04/25] acpi: add DMAR scope definition for root IOAPIC

2016-06-01 Thread Igor Mammedov
On Mon, 30 May 2016 18:31:17 +0800 Peter Xu wrote: > 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 defau

[Qemu-devel] [PATCH v8 04/25] acpi: add DMAR scope definition for root IOAPIC

2016-05-30 Thread Peter Xu
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 i