virtio-iommu: Fix Replay
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | virtio-iommu: Add unmap on virtio_iommu_remap()hw/ | +1 | 0 replies | |
| 2/2 | virtio-iommu: Fix replay on device attachhw/ | +5 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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