This patchset adds support for passthru devices to run inside VMs under the management of an emulated amd-iommu device (vIOMMU). This feature has a variety of benefits, including enhanced I/O security and user-mode driver support, for guest VMs.
This patchset has been tested with various 1G and 10G (SR-IOV) NICs on AMD boxes. V1->V2: * Remove unnecessary VFIO_IOMMU_MAP_DMA errno check (Alex Williamson) Thanks, -Wei Wei Huang (3): amd-iommu: Add address space notifier and replay support amd-iommu: Sync IOVA-to-GPA translation during page invalidation amd-iommu: Fix amdvi_mmio_trace() to differentiate MMIO R/W hw/i386/amd_iommu.c | 243 ++++++++++++++++++++++++++++++++++++++++++-- hw/i386/amd_iommu.h | 13 +++ 2 files changed, 245 insertions(+), 11 deletions(-) -- 2.25.2