Re: [PATCH v9 QEMU 14/15] vfio: Add ioctl to get dirty pages bitmap during dma unmap.

2019-11-13 Thread Alex Williamson
On Tue, 12 Nov 2019 22:35:23 +0530 Kirti Wankhede wrote: > With vIOMMU, IO virtual address range can get unmapped while in pre-copy phase > of migration. In that case, unmap ioctl should return pages pinned in that > range > and QEMU should find its correcponding guest physical addresses and rep

Re: [PATCH v9 QEMU 14/15] vfio: Add ioctl to get dirty pages bitmap during dma unmap.

2019-11-12 Thread Yan Zhao
On Wed, Nov 13, 2019 at 01:05:23AM +0800, Kirti Wankhede wrote: > With vIOMMU, IO virtual address range can get unmapped while in pre-copy phase > of migration. In that case, unmap ioctl should return pages pinned in that > range > and QEMU should find its correcponding guest physical addresses an

[PATCH v9 QEMU 14/15] vfio: Add ioctl to get dirty pages bitmap during dma unmap.

2019-11-12 Thread Kirti Wankhede
With vIOMMU, IO virtual address range can get unmapped while in pre-copy phase of migration. In that case, unmap ioctl should return pages pinned in that range and QEMU should find its correcponding guest physical addresses and report those dirty. Note: This patch is not yet tested. I'm trying to