Re: [PATCH v9 Kernel 5/5] vfio iommu: Implementation of ioctl to get dirty bitmap before unmap

2019-11-12 Thread Alex Williamson
On Tue, 12 Nov 2019 22:33:40 +0530 Kirti Wankhede wrote: > If pages are pinned by external interface for requested IO virtual address > range, bitmap of such pages is created and then that range is unmapped. > To get bitmap during unmap, user should set flag > VFIO_DMA_UNMAP_FLAG_GET_DIRTY_BITMAP

[PATCH v9 Kernel 5/5] vfio iommu: Implementation of ioctl to get dirty bitmap before unmap

2019-11-12 Thread Kirti Wankhede
If pages are pinned by external interface for requested IO virtual address range, bitmap of such pages is created and then that range is unmapped. To get bitmap during unmap, user should set flag VFIO_DMA_UNMAP_FLAG_GET_DIRTY_BITMAP, bitmap memory should be allocated and bitmap_size should be set.