qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v6 0/2] vhost-vdpa: add support for vIOMMU
@ 2022-10-30  6:01 Cindy Lu
  2022-10-30  6:01 ` [PATCH v6 1/2] vfio: move function vfio_get_xlat_addr() to memory.c Cindy Lu
  2022-10-30  6:01 ` [PATCH v6 2/2] vhost-vdpa: add support for vIOMMU Cindy Lu
  0 siblings, 2 replies; 5+ messages in thread
From: Cindy Lu @ 2022-10-30  6:01 UTC (permalink / raw)
  To: lulu, alex.williamson, jasowang, mst, pbonzini, peterx, david,
	f4bug, sgarzare
  Cc: qemu-devel

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_add

Cindy Lu (2):
  vfio: move function vfio_get_xlat_addr() to memory.c
  vhost-vdpa: add support for vIOMMU

 hw/vfio/common.c               | 135 +++++++++++----------------------
 hw/virtio/vhost-vdpa.c         | 123 +++++++++++++++++++++++++++---
 include/exec/memory.h          |   4 +
 include/hw/virtio/vhost-vdpa.h |  10 +++
 softmmu/memory.c               |  72 ++++++++++++++++++
 5 files changed, 244 insertions(+), 100 deletions(-)

-- 
2.34.3



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-10-30 13:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-30  6:01 [PATCH v6 0/2] vhost-vdpa: add support for vIOMMU Cindy Lu
2022-10-30  6:01 ` [PATCH v6 1/2] vfio: move function vfio_get_xlat_addr() to memory.c Cindy Lu
2022-10-30 13:02   ` Alex Williamson
2022-10-30 13:15     ` Cindy Lu
2022-10-30  6:01 ` [PATCH v6 2/2] vhost-vdpa: add support for vIOMMU Cindy Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).