Skip to content

Vhost device IOTLB fixup for vfio enablment

Jason Wang qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2intel_iommu: use the correct memory region for device IOTLB notificationhw/i386/intel_iommu.c+1 -11 reply
2/2vhost: genearlize iommu memory regionhw/virtio/vhost.c include/hw/virtio/vhost.h+83 -205 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchPeter Xu
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH fixup 0/2] Vhost device IOTLB fixup for vfio enablment

Hi:

This series is a fixup for vfio enablement series which breaks vhost device IOTLB. The main reason is that vhost device IOTLB assumes the iommu region were alwasy as->root. Fixing by using a memory listener to register iommu notifiers.

Please review.

Jason Wang (2):
intel_iommu: use the correct memory region for device IOTLB
notification
vhost: genearlize iommu memory region

 hw/i386/intel_iommu.c     |  2 +-
 hw/virtio/vhost.c         | 93 +++++++++++++++++++++++++++++++++++++----------
 include/hw/virtio/vhost.h | 10 +++++
 3 files changed, 84 insertions(+), 21 deletions(-)
Signature · 1 line
2.7.4