qemu-e2k/include/hw/pci-host
Le Tan a52a7fdfa7 intel-iommu: add Intel IOMMU emulation to q35 and add a machine option "iommu" as a switch
Add Intel IOMMU emulation to q35 chipset and expose it to the guest.
1. Add a machine option. Users can use "-machine iommu=on|off" in the command
line to enable/disable Intel IOMMU. The default is off.
2. Accroding to the machine option, q35 will initialize the Intel IOMMU and
use pci_setup_iommu() to setup q35_host_dma_iommu() as the IOMMU function for
the pci bus.
3. q35_host_dma_iommu() will return different address space according to the
bus_num and devfn of the device.

Signed-off-by: Le Tan <tamlokveer@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2014-08-28 23:10:22 +02:00
..
apb.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
pam.h pci-host: update obsolete reference about piix_pci.c 2014-08-15 18:54:06 +04:00
ppce500.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
q35.h intel-iommu: add Intel IOMMU emulation to q35 and add a machine option "iommu" as a switch 2014-08-28 23:10:22 +02:00
spapr.h spapr_pci: Use XICS interrupt allocator and do not cache interrupts in PHB 2014-06-27 13:48:27 +02:00