Skip to content

vhost-vdpa: add support for vIOMMU

Cindy Lu qemu-devel 16 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v16 Latest4 patches 0 repliesNew
  2. v154 patches 6 repliesSuperseded
  3. v144 patches 5 repliesSuperseded
Earlier versions · 13
VersionPostedPatchesRepliesStatus
v132 patches3 repliesSuperseded
v121 patch4 repliesSuperseded
v112 patches2 repliesSuperseded
v102 patches5 repliesSuperseded
v92 patches12 repliesSuperseded
v82 patches2 repliesSuperseded
v72 patches2 repliesSuperseded
v62 patches2 repliesSuperseded
v52 patches2 repliesSuperseded
v42 patches11 repliesSuperseded
v32 patches3 repliesSuperseded
v21 patch4 repliesSuperseded
v11 patch2 repliesSuperseded

Changes in v16 from the cover letter

remove the batch mode operation in vIOMMU MR

Patches in v16 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4vhost: expose function vhost_dev_has_iommu()hw/virtio/vhost.c include/hw/virtio/vhost.h+2 -10 replies
2/4vhost_vdpa: fix the input in trace_vhost_vdpa_listener_region_del()hw/virtio/vhost-vdpa.c+2 -10 replies
3/4vhost-vdpa: Add check for full 64-bit in region deletehw/virtio/vhost-vdpa.c+19 -10 replies
4/4vhost-vdpa: Add support for vIOMMU.hw/virtio/vhost-vdpa.c include/hw/virtio/vhost-vdpa.h+149 -70 replies

Reviews trailers per patch

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

Read the v16 thread

Cover letter [PATCH v16 0/4] vhost-vdpa: add support for vIOMMU

These patches are to support vIOMMU in vdpa device

changes in V3
1. Move function vfio_get_xlat_addr to memory.c
2. Use the existing memory listener, while the MR is iommu MR then call the function iommu_region_add/ iommu_region_del

changes in V4
1.make the comments in vfio_get_xlat_addr more general

changes in V5
1. Address the comments in the last version
2. Add a new arg in the function vfio_get_xlat_addr, which shows whether the memory is backed by a discard manager. So the device can have its own warning.

changes in V6
move the error_report for the unpopulated discard back to memeory_get_xlat_addr

changes in V7
organize the error massage to avoid the duplicate information

changes in V8
Organize the code follow the comments in the last version

changes in V9
Organize the code follow the comments

changes in V10
Address the comments

changes in V11
Address the comments
fix the crash found in test

changes in V12
Address the comments, squash patch 1 into the next patch improve the code style issue

changes in V13
fail to start if IOMMU and svq enable at same time improve the code style issue

changes in V14
Address the comments

changes in V15
Address the comments

changes in V16
remove the batch mode operation in vIOMMU MR

Cindy Lu (4):
vhost: expose function vhost_dev_has_iommu()
vhost_vdpa: fix the input in trace_vhost_vdpa_listener_region_del()
vhost-vdpa: Add check for full 64-bit in region delete
vhost-vdpa: Add support for vIOMMU.

 hw/virtio/vhost-vdpa.c         | 168 +++++++++++++++++++++++++++++++--
 hw/virtio/vhost.c              |   2 +-
 include/hw/virtio/vhost-vdpa.h |  11 +++
 include/hw/virtio/vhost.h      |   1 +
 4 files changed, 172 insertions(+), 10 deletions(-)
Signature · 1 line
2.34.3