Re: [RFC V1 01/13] vhost-vdpa: count pinned memory

2024-01-17 Thread Steven Sistare
On 1/10/2024 5:24 PM, Michael S. Tsirkin wrote: > On Wed, Jan 10, 2024 at 12:40:03PM -0800, Steve Sistare wrote: >> Remember the count of pinned memory for the device. >> >> Signed-off-by: Steve Sistare > > Can we have iommufd support in vdpa so we do not keep extending these hacks? I assume

Re: [RFC V1 01/13] vhost-vdpa: count pinned memory

2024-01-10 Thread Michael S. Tsirkin
On Wed, Jan 10, 2024 at 12:40:03PM -0800, Steve Sistare wrote: > Remember the count of pinned memory for the device. > > Signed-off-by: Steve Sistare Can we have iommufd support in vdpa so we do not keep extending these hacks? > --- > drivers/vhost/vdpa.c | 7 +-- > 1 file changed, 5

[RFC V1 01/13] vhost-vdpa: count pinned memory

2024-01-10 Thread Steve Sistare
Remember the count of pinned memory for the device. Signed-off-by: Steve Sistare --- drivers/vhost/vdpa.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/vhost/vdpa.c b/drivers/vhost/vdpa.c index da7ec77cdaff..10fb95bcca1a 100644 --- a/drivers/vhost/vdpa.c +++