RE: [PATCH v15 Kernel 4/7] vfio iommu: Implementation of ioctl for dirty pages tracking.

2020-03-24 Thread Tian, Kevin
> From: Dr. David Alan Gilbert > Sent: Wednesday, March 25, 2020 4:23 AM > > * Alex Williamson (alex.william...@redhat.com) wrote: > > On Mon, 23 Mar 2020 23:01:18 -0400 > > Yan Zhao wrote: > > > > > On Tue, Mar 24, 2020 at 02:51:14AM +0800, Dr. David Alan Gilbert wrote: > > > > * Alex Williamso

Re: [PATCH v15 Kernel 4/7] vfio iommu: Implementation of ioctl for dirty pages tracking.

2020-03-24 Thread Dr. David Alan Gilbert
* Alex Williamson (alex.william...@redhat.com) wrote: > On Mon, 23 Mar 2020 23:01:18 -0400 > Yan Zhao wrote: > > > On Tue, Mar 24, 2020 at 02:51:14AM +0800, Dr. David Alan Gilbert wrote: > > > * Alex Williamson (alex.william...@redhat.com) wrote: > > > > On Mon, 23 Mar 2020 23:24:37 +0530 > > >

Re: [PATCH v15 Kernel 4/7] vfio iommu: Implementation of ioctl for dirty pages tracking.

2020-03-24 Thread Alex Williamson
On Mon, 23 Mar 2020 23:01:18 -0400 Yan Zhao wrote: > On Tue, Mar 24, 2020 at 02:51:14AM +0800, Dr. David Alan Gilbert wrote: > > * Alex Williamson (alex.william...@redhat.com) wrote: > > > On Mon, 23 Mar 2020 23:24:37 +0530 > > > Kirti Wankhede wrote: > > > > > > > On 3/21/2020 12:29 AM, Al

Re: [PATCH v15 Kernel 4/7] vfio iommu: Implementation of ioctl for dirty pages tracking.

2020-03-24 Thread Kirti Wankhede
On 3/24/2020 8:31 AM, Yan Zhao wrote: On Tue, Mar 24, 2020 at 02:51:14AM +0800, Dr. David Alan Gilbert wrote: * Alex Williamson (alex.william...@redhat.com) wrote: On Mon, 23 Mar 2020 23:24:37 +0530 Kirti Wankhede wrote: On 3/21/2020 12:29 AM, Alex Williamson wrote: On Sat, 21 Mar 2020 0

Re: [PATCH v15 Kernel 4/7] vfio iommu: Implementation of ioctl for dirty pages tracking.

2020-03-23 Thread Yan Zhao
On Tue, Mar 24, 2020 at 02:51:14AM +0800, Dr. David Alan Gilbert wrote: > * Alex Williamson (alex.william...@redhat.com) wrote: > > On Mon, 23 Mar 2020 23:24:37 +0530 > > Kirti Wankhede wrote: > > > > > On 3/21/2020 12:29 AM, Alex Williamson wrote: > > > > On Sat, 21 Mar 2020 00:12:04 +0530 > > >

Re: [PATCH v15 Kernel 4/7] vfio iommu: Implementation of ioctl for dirty pages tracking.

2020-03-23 Thread Dr. David Alan Gilbert
* Alex Williamson (alex.william...@redhat.com) wrote: > On Mon, 23 Mar 2020 23:24:37 +0530 > Kirti Wankhede wrote: > > > On 3/21/2020 12:29 AM, Alex Williamson wrote: > > > On Sat, 21 Mar 2020 00:12:04 +0530 > > > Kirti Wankhede wrote: > > > > > >> On 3/20/2020 11:31 PM, Alex Williamson wrote

Re: [PATCH v15 Kernel 4/7] vfio iommu: Implementation of ioctl for dirty pages tracking.

2020-03-23 Thread Alex Williamson
On Mon, 23 Mar 2020 23:24:37 +0530 Kirti Wankhede wrote: > On 3/21/2020 12:29 AM, Alex Williamson wrote: > > On Sat, 21 Mar 2020 00:12:04 +0530 > > Kirti Wankhede wrote: > > > >> On 3/20/2020 11:31 PM, Alex Williamson wrote: > >>> On Fri, 20 Mar 2020 23:19:14 +0530 > >>> Kirti Wankhede wro

Re: [PATCH v15 Kernel 4/7] vfio iommu: Implementation of ioctl for dirty pages tracking.

2020-03-23 Thread Kirti Wankhede
On 3/21/2020 12:29 AM, Alex Williamson wrote: On Sat, 21 Mar 2020 00:12:04 +0530 Kirti Wankhede wrote: On 3/20/2020 11:31 PM, Alex Williamson wrote: On Fri, 20 Mar 2020 23:19:14 +0530 Kirti Wankhede wrote: On 3/20/2020 4:27 AM, Alex Williamson wrote: On Fri, 20 Mar 2020 01:46:41 +05

Re: [PATCH v15 Kernel 4/7] vfio iommu: Implementation of ioctl for dirty pages tracking.

2020-03-20 Thread Alex Williamson
On Sat, 21 Mar 2020 00:12:04 +0530 Kirti Wankhede wrote: > On 3/20/2020 11:31 PM, Alex Williamson wrote: > > On Fri, 20 Mar 2020 23:19:14 +0530 > > Kirti Wankhede wrote: > > > >> On 3/20/2020 4:27 AM, Alex Williamson wrote: > >>> On Fri, 20 Mar 2020 01:46:41 +0530 > >>> Kirti Wankhede wrot

Re: [PATCH v15 Kernel 4/7] vfio iommu: Implementation of ioctl for dirty pages tracking.

2020-03-20 Thread Kirti Wankhede
On 3/20/2020 11:31 PM, Alex Williamson wrote: On Fri, 20 Mar 2020 23:19:14 +0530 Kirti Wankhede wrote: On 3/20/2020 4:27 AM, Alex Williamson wrote: On Fri, 20 Mar 2020 01:46:41 +0530 Kirti Wankhede wrote: +static int vfio_iova_dirty_bitmap(struct vfio_iommu *iommu, dma_addr_t iov

Re: [PATCH v15 Kernel 4/7] vfio iommu: Implementation of ioctl for dirty pages tracking.

2020-03-20 Thread Alex Williamson
On Fri, 20 Mar 2020 23:19:14 +0530 Kirti Wankhede wrote: > On 3/20/2020 4:27 AM, Alex Williamson wrote: > > On Fri, 20 Mar 2020 01:46:41 +0530 > > Kirti Wankhede wrote: > > > >> VFIO_IOMMU_DIRTY_PAGES ioctl performs three operations: > >> - Start dirty pages tracking while migration is active

Re: [PATCH v15 Kernel 4/7] vfio iommu: Implementation of ioctl for dirty pages tracking.

2020-03-20 Thread Kirti Wankhede
On 3/20/2020 4:27 AM, Alex Williamson wrote: On Fri, 20 Mar 2020 01:46:41 +0530 Kirti Wankhede wrote: VFIO_IOMMU_DIRTY_PAGES ioctl performs three operations: - Start dirty pages tracking while migration is active - Stop dirty pages tracking. - Get dirty pages bitmap. Its user space applicat

Re: [PATCH v15 Kernel 4/7] vfio iommu: Implementation of ioctl for dirty pages tracking.

2020-03-19 Thread Alex Williamson
On Fri, 20 Mar 2020 01:46:41 +0530 Kirti Wankhede wrote: > VFIO_IOMMU_DIRTY_PAGES ioctl performs three operations: > - Start dirty pages tracking while migration is active > - Stop dirty pages tracking. > - Get dirty pages bitmap. Its user space application's responsibility to > copy content of