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

2020-06-26 Thread Dr. David Alan Gilbert
* Alex Williamson (alex.william...@redhat.com) wrote: > On Thu, 25 Jun 2020 20:31:12 +0530 > Kirti Wankhede wrote: > > > On 6/25/2020 12:26 AM, Alex Williamson wrote: > > > On Sun, 21 Jun 2020 01:51:24 +0530 > > > Kirti Wankhede wrote: > > > > > >> With vIOMMU, IO virtual address range can ge

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

2020-06-25 Thread Alex Williamson
On Thu, 25 Jun 2020 20:31:12 +0530 Kirti Wankhede wrote: > On 6/25/2020 12:26 AM, Alex Williamson wrote: > > On Sun, 21 Jun 2020 01:51:24 +0530 > > Kirti Wankhede wrote: > > > >> With vIOMMU, IO virtual address range can get unmapped while in pre-copy > >> phase of migration. In that case, un

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

2020-06-25 Thread Kirti Wankhede
On 6/25/2020 12:26 AM, Alex Williamson wrote: On Sun, 21 Jun 2020 01:51:24 +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 cor

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

2020-06-24 Thread Alex Williamson
On Sun, 21 Jun 2020 01:51:24 +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 repo

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

2020-06-23 Thread Cornelia Huck
On Sun, 21 Jun 2020 01:51:24 +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 repo

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

2020-06-20 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. Suggested-by: Alex Williamson Signed-off-by: Kirt