Re: [PATCH v2 09/15] vfio: implement unmap all for DMA unmap callbacks

2025-05-07 Thread John Levon
On Mon, May 05, 2025 at 01:28:02PM +0200, Cédric Le Goater wrote: > > +static int vfio_legacy_dma_unmap(const VFIOContainerBase *bcontainer, > > + hwaddr iova, ram_addr_t size, > > + IOMMUTLBEntry *iotlb, bool unmap_all) > > +{ > > +

Re: [PATCH v2 09/15] vfio: implement unmap all for DMA unmap callbacks

2025-05-05 Thread Cédric Le Goater
On 4/30/25 21:39, John Levon wrote: Handle unmap_all in the DMA unmap handlers rather than in the caller. Signed-off-by: John Levon --- hw/vfio/container.c | 45 +++-- hw/vfio/iommufd.c | 15 ++- hw/vfio/listener.c | 19 ++--

[PATCH v2 09/15] vfio: implement unmap all for DMA unmap callbacks

2025-04-30 Thread John Levon
Handle unmap_all in the DMA unmap handlers rather than in the caller. Signed-off-by: John Levon --- hw/vfio/container.c | 45 +++-- hw/vfio/iommufd.c | 15 ++- hw/vfio/listener.c | 19 ++- 3 files changed, 55 insertions(+), 2