Re: [PATCH v10 0/2] vhost-vdpa: add support for vIOMMU

2022-11-02 Thread Michael S. Tsirkin
On Wed, Nov 02, 2022 at 06:39:11AM -0600, Alex Williamson wrote: > On Wed, 2 Nov 2022 06:54:28 -0400 > "Michael S. Tsirkin" wrote: > > > On Mon, Oct 31, 2022 at 08:57:00PM +0800, Cindy Lu wrote: > > > changes in V3 > > > 1. Move function vfio_get_xlat_addr to memory.c > > > 2. Use the existing

Re: [PATCH v10 0/2] vhost-vdpa: add support for vIOMMU

2022-11-02 Thread Alex Williamson
On Wed, 2 Nov 2022 06:54:28 -0400 "Michael S. Tsirkin" wrote: > On Mon, Oct 31, 2022 at 08:57:00PM +0800, Cindy Lu wrote: > > 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

Re: [PATCH v10 0/2] vhost-vdpa: add support for vIOMMU

2022-11-02 Thread Michael S. Tsirkin
On Mon, Oct 31, 2022 at 08:57:00PM +0800, Cindy Lu wrote: > 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

[PATCH v10 0/2] vhost-vdpa: add support for vIOMMU

2022-10-31 Thread Cindy Lu
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