Changes from RFC:
- change ->translate to return read/write permissions in IOTLBEntry (was:
->translate received is_write parameter)
- add support for iommu fault reporting
Avi Kivity (7):
memory: fix address space initialization/destruction
memory: limit sections in the radix tree to the actual address space
size
memory: iommu support
memory: provide a MemoryRegion for IOMMUs to log faults
pci: use memory core for iommu support
vfio: abort if an emulated iommu is used
i440fx: add an iommu
exec.c | 43 +++++++++++++++++---
hw/pci.c | 59 +++++++++++++++++-----------
hw/pci.h | 7 +++-
hw/pci_internals.h | 5 ++-
hw/piix_pci.c | 77 ++++++++++++++++++++++++++++++++++++
hw/spapr.h | 1 +
hw/spapr_iommu.c | 45 +++++++++------------
hw/spapr_pci.c | 27 +++++++++++--
hw/spapr_pci.h | 2 +
hw/vfio_pci.c | 2 +
memory.c | 112 +++++++++++++++++++++++++++++++++++++++++++++++++++++
memory.h | 49 +++++++++++++++++++++++
12 files changed, 366 insertions(+), 63 deletions(-)
--
1.7.12