Re: [PATCH RFC v2 13/16] vfio-user: dma map/unmap operations

2021-09-08 Thread Stefan Hajnoczi
On Mon, Aug 16, 2021 at 09:42:46AM -0700, Elena Ufimtseva wrote: > +void vfio_user_drain_reqs(VFIOProxy *proxy) > +{ > +VFIOUserReply *reply; > +bool iolock = 0; > + > +/* > + * Any DMA map/unmap requests sent in the middle > + * of a memory region transaction were sent async. >

[PATCH RFC v2 13/16] vfio-user: dma map/unmap operations

2021-08-16 Thread Elena Ufimtseva
From: John Johnson Signed-off-by: Jagannathan Raman Signed-off-by: Elena Ufimtseva Signed-off-by: John G Johnson --- hw/vfio/user-protocol.h | 32 + hw/vfio/user.h| 6 ++ include/hw/vfio/vfio-common.h | 1 + hw/vfio/common.c | 71 ++