Re: [PATCH v17 Kernel 5/7] vfio iommu: Update UNMAP_DMA ioctl to get dirty bitmap before unmap

2020-03-31 Thread Alex Williamson
On Wed, 1 Apr 2020 00:16:13 +0530 Kirti Wankhede wrote: > On 3/31/2020 3:04 AM, Alex Williamson wrote: > > On Mon, 30 Mar 2020 22:20:42 +0530 > > Kirti Wankhede wrote: > > > >> DMA mapped pages, including those pinned by mdev vendor drivers, might > >> get unpinned and unmapped while

Re: [PATCH v17 Kernel 5/7] vfio iommu: Update UNMAP_DMA ioctl to get dirty bitmap before unmap

2020-03-31 Thread Kirti Wankhede
On 3/31/2020 3:04 AM, Alex Williamson wrote: On Mon, 30 Mar 2020 22:20:42 +0530 Kirti Wankhede wrote: DMA mapped pages, including those pinned by mdev vendor drivers, might get unpinned and unmapped while migration is active and device is still running. For example, in pre-copy phase while

Re: [PATCH v17 Kernel 5/7] vfio iommu: Update UNMAP_DMA ioctl to get dirty bitmap before unmap

2020-03-30 Thread Alex Williamson
On Mon, 30 Mar 2020 22:20:42 +0530 Kirti Wankhede wrote: > DMA mapped pages, including those pinned by mdev vendor drivers, might > get unpinned and unmapped while migration is active and device is still > running. For example, in pre-copy phase while guest driver could access > those pages,