Skip to content

virtio-iommu: Fix Replay

Eric Auger qemu-arm qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2virtio-iommu: Add unmap on virtio_iommu_remap()hw/virtio/virtio-iommu.c+1 -00 replies
2/2virtio-iommu: Fix replay on device attachhw/virtio/virtio-iommu.c+5 -30 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH for 8.0 0/2] virtio-iommu: Fix Replay

When assigning VFIO devices protected by a virtio-iommu we need to replay the mappings when adding a new IOMMU MR and when attaching a device to a domain. While we do a "remap" we currently fail to first unmap the existing IOVA mapping and just map the new one. With some device/group topology this can lead to errors in VFIO when trying to DMA_MAP IOVA ranges onto existing ones.

Eric Auger (2):
virtio-iommu: Add unmap on virtio_iommu_remap()
virtio-iommu: Fix replay on device attach

 hw/virtio/virtio-iommu.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
Signature · 1 line
2.37.3