This series adds support for VFIO endpoints to virtio-iommu. Since [v10] I addressed the review comments, and changed the logic of patch 9 for setting the page mask, as discussed. Please see individual changelogs for details.
[v10] https://lore.kernel.org/qemu-devel/20201008171558.410886-1-jean-phili...@linaro.org/ Bharat Bhushan (7): virtio-iommu: Add memory notifiers for map/unmap virtio-iommu: Call memory notifiers in attach/detach virtio-iommu: Add replay() memory region callback virtio-iommu: Add notify_flag_changed() memory region callback memory: Add interface to set iommu page size mask vfio: Set IOMMU page size as per host supported page size virtio-iommu: Set supported page size mask Jean-Philippe Brucker (3): virtio-iommu: Fix virtio_iommu_mr() virtio-iommu: Store memory region in endpoint struct vfio: Don't issue full 2^64 unmap include/exec/memory.h | 38 ++++++++ hw/vfio/common.c | 19 ++++ hw/virtio/virtio-iommu.c | 205 ++++++++++++++++++++++++++++++++++++++- softmmu/memory.c | 13 +++ hw/virtio/trace-events | 6 ++ 5 files changed, 279 insertions(+), 2 deletions(-) -- 2.29.1