Please see patch 1/ for the motivation and utility of this series. This v1 submission improves on the previous RFC with revised commit logs, comments, and more testing, and the missing IVRS support for DMA alias ranges is now included. Testing has been done with Linux guests with both SeaBIOS and OVMF with configurations of intel-iommu and amd-iommu. Intel-iommu testing includes device assignment, amd-iommu is necessarily limited to emulated devices with interrupt remapping disabled and iommu=pt in the guest (enabling interrupt remapping or disabling guest passthrough mode fails to work regardless of this series). This series is NOT intended for QEMU v4.1. Thanks,
Alex --- Alex Williamson (2): pci: Use PCI aliases when determining device IOMMU address space hw/i386: AMD-Vi IVRS DMA alias support hw/i386/acpi-build.c | 127 +++++++++++++++++++++++++++++++++++++++++++++++--- hw/pci/pci.c | 43 ++++++++++++++++- 2 files changed, 160 insertions(+), 10 deletions(-)