Skip to content

RFC Supporting programming IOMMU in QEMU (vDPA/vhost-user)

Tiwei Bie qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 19 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3vfio: split vfio_get_group() into small functionshw/vfio/common.c+55 -280 replies
2/3vfio: support getting VFIOGroup from groupfdhw/vfio/common.c include/hw/vfio/vfio-common.h+45 -00 replies
3/3vhost-user: support programming VFIO group in masterdocs/interop/vhost-user.txt hw/virtio/vhost-user.c include/hw/virtio/vhost-user.h+58 -019 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [Qemu-devel] [RFC 0/3] Supporting programming IOMMU in QEMU (vDPA/vhost-user)

This patch set introduces a slave message in vhost-user to allow slave to share its VFIO group fd to master and do the IOMMU programming based on virtio device's DMA address space for this group in QEMU.

For the vhost-user backends which support vDPA, they could leverage this message to ask master to do IOMMU programming in QEMU for the vDPA device in backend. This is helpful to support vIOMMU in vDPA.

Tiwei Bie (3):
vfio: split vfio_get_group() into small functions
vfio: support getting VFIOGroup from groupfd
vhost-user: support programming VFIO group in master

 docs/interop/vhost-user.txt    |  16 +++++
 hw/vfio/common.c               | 127 +++++++++++++++++++++++++--------
 hw/virtio/vhost-user.c         |  40 +++++++++++
 include/hw/vfio/vfio-common.h  |   1 +
 include/hw/virtio/vhost-user.h |   2 +
 5 files changed, 158 insertions(+), 28 deletions(-)
Signature · 1 line
2.18.0