Skip to content

Passthru device support under emulated amd-iommu

Wei Huang qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 2 repliesIn review
  2. v13 patches 2 repliesSuperseded

Changes in v2 from the cover letter

* Remove unnecessary VFIO_IOMMU_MAP_DMA errno check (Alex Williamson)

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3amd-iommu: Add address space notifier and replay supporthw/i386/amd_iommu.c hw/i386/amd_iommu.h+42 -61 reply
2/3amd-iommu: Sync IOVA-to-GPA translation during page invalidationhw/i386/amd_iommu.c hw/i386/amd_iommu.h+187 -01 reply
3/3amd-iommu: Fix amdvi_mmio_trace() to differentiate MMIO R/Whw/i386/amd_iommu.c+16 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH V2 0/3] Passthru device support under emulated amd-iommu

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(-)
Signature · 1 line
2.25.2