RE: [PATCH v8 01/13] vfio: KABI for migration interface

2019-10-24 Thread Tian, Kevin
Sorry for late reply... > From: Alex Williamson [mailto:alex.william...@redhat.com] > Sent: Friday, September 27, 2019 5:33 AM > > On Thu, 26 Sep 2019 03:07:08 + > "Tian, Kevin" wrote: > > > > From: Alex Williamson [mailto:alex.william...@redhat.com] > > > Sent: Thursday, September 26, 2019

Re: [PATCH v8 01/13] vfio: KABI for migration interface

2019-09-26 Thread Alex Williamson
On Thu, 26 Sep 2019 03:07:08 + "Tian, Kevin" wrote: > > From: Alex Williamson [mailto:alex.william...@redhat.com] > > Sent: Thursday, September 26, 2019 3:06 AM > [...] > > > > > The second point is about write-protection: > > > > > > > > > > > There is another value of recording GPA in V

RE: [PATCH v8 01/13] vfio: KABI for migration interface

2019-09-25 Thread Tian, Kevin
> From: Alex Williamson [mailto:alex.william...@redhat.com] > Sent: Thursday, September 26, 2019 3:06 AM [...] > > > > The second point is about write-protection: > > > > > > > > > There is another value of recording GPA in VFIO. Vendor drivers > > > > > (e.g. GVT-g) may need to selectively write-p

Re: [PATCH v8 01/13] vfio: KABI for migration interface

2019-09-25 Thread Alex Williamson
On Tue, 24 Sep 2019 23:04:22 + "Tian, Kevin" wrote: > > From: Alex Williamson [mailto:alex.william...@redhat.com] > > Sent: Wednesday, September 25, 2019 2:03 AM > > > > On Tue, 24 Sep 2019 02:19:15 + > > "Tian, Kevin" wrote: > > > > > > From: Tian, Kevin > > > > Sent: Friday, Septem

RE: [PATCH v8 01/13] vfio: KABI for migration interface

2019-09-24 Thread Tian, Kevin
> From: Alex Williamson [mailto:alex.william...@redhat.com] > Sent: Wednesday, September 25, 2019 2:03 AM > > On Tue, 24 Sep 2019 02:19:15 + > "Tian, Kevin" wrote: > > > > From: Tian, Kevin > > > Sent: Friday, September 13, 2019 7:00 AM > > > > > > > From: Alex Williamson [mailto:alex.willia

Re: [PATCH v8 01/13] vfio: KABI for migration interface

2019-09-24 Thread Alex Williamson
On Tue, 24 Sep 2019 02:19:15 + "Tian, Kevin" wrote: > > From: Tian, Kevin > > Sent: Friday, September 13, 2019 7:00 AM > > > > > From: Alex Williamson [mailto:alex.william...@redhat.com] > > > Sent: Thursday, September 12, 2019 10:41 PM > > > > > > On Tue, 3 Sep 2019 06:57:27 + > > > "

RE: [PATCH v8 01/13] vfio: KABI for migration interface

2019-09-23 Thread Tian, Kevin
> From: Tian, Kevin > Sent: Friday, September 13, 2019 7:00 AM > > > From: Alex Williamson [mailto:alex.william...@redhat.com] > > Sent: Thursday, September 12, 2019 10:41 PM > > > > On Tue, 3 Sep 2019 06:57:27 + > > "Tian, Kevin" wrote: > > > > > > From: Alex Williamson [mailto:alex.william.

Re: [Qemu-devel] [PATCH v8 01/13] vfio: KABI for migration interface

2019-09-15 Thread Tian, Kevin
> From: Alex Williamson [mailto:alex.william...@redhat.com] > Sent: Friday, September 13, 2019 11:48 PM > > On Thu, 12 Sep 2019 23:00:03 + > "Tian, Kevin" wrote: > > > > From: Alex Williamson [mailto:alex.william...@redhat.com] > > > Sent: Thursday, September 12, 2019 10:41 PM > > > > > > On

Re: [Qemu-devel] [PATCH v8 01/13] vfio: KABI for migration interface

2019-09-13 Thread Alex Williamson
On Thu, 12 Sep 2019 23:00:03 + "Tian, Kevin" wrote: > > From: Alex Williamson [mailto:alex.william...@redhat.com] > > Sent: Thursday, September 12, 2019 10:41 PM > > > > On Tue, 3 Sep 2019 06:57:27 + > > "Tian, Kevin" wrote: > > > > > > From: Alex Williamson [mailto:alex.william...@r

Re: [Qemu-devel] [PATCH v8 01/13] vfio: KABI for migration interface

2019-09-12 Thread Tian, Kevin
> From: Alex Williamson [mailto:alex.william...@redhat.com] > Sent: Thursday, September 12, 2019 10:41 PM > > On Tue, 3 Sep 2019 06:57:27 + > "Tian, Kevin" wrote: > > > > From: Alex Williamson [mailto:alex.william...@redhat.com] > > > Sent: Saturday, August 31, 2019 12:33 AM > > > > > > On F

Re: [Qemu-devel] [PATCH v8 01/13] vfio: KABI for migration interface

2019-09-12 Thread Alex Williamson
On Tue, 3 Sep 2019 06:57:27 + "Tian, Kevin" wrote: > > From: Alex Williamson [mailto:alex.william...@redhat.com] > > Sent: Saturday, August 31, 2019 12:33 AM > > > > On Fri, 30 Aug 2019 08:06:32 + > > "Tian, Kevin" wrote: > > > > > > From: Tian, Kevin > > > > Sent: Friday, August 30,

Re: [Qemu-devel] [PATCH v8 01/13] vfio: KABI for migration interface

2019-09-04 Thread Yan Zhao
On Tue, Sep 03, 2019 at 02:05:46PM +0800, Tian, Kevin wrote: > > From: Alex Williamson [mailto:alex.william...@redhat.com] > > Sent: Saturday, August 31, 2019 12:15 AM > > > > On Fri, 30 Aug 2019 07:25:59 + > > "Tian, Kevin" wrote: > > > > > > From: Alex Williamson [mailto:alex.william...@re

Re: [Qemu-devel] [PATCH v8 01/13] vfio: KABI for migration interface

2019-09-02 Thread Tian, Kevin
> From: Alex Williamson [mailto:alex.william...@redhat.com] > Sent: Saturday, August 31, 2019 12:33 AM > > On Fri, 30 Aug 2019 08:06:32 + > "Tian, Kevin" wrote: > > > > From: Tian, Kevin > > > Sent: Friday, August 30, 2019 3:26 PM > > > > > [...] > > > > How does QEMU handle the fact that IO

Re: [Qemu-devel] [PATCH v8 01/13] vfio: KABI for migration interface

2019-09-02 Thread Tian, Kevin
> From: Alex Williamson [mailto:alex.william...@redhat.com] > Sent: Saturday, August 31, 2019 12:15 AM > > On Fri, 30 Aug 2019 07:25:59 + > "Tian, Kevin" wrote: > > > > From: Alex Williamson [mailto:alex.william...@redhat.com] > > > Sent: Thursday, August 29, 2019 4:51 AM > > > > > > On Tue,

Re: [Qemu-devel] [PATCH v8 01/13] vfio: KABI for migration interface

2019-08-30 Thread Alex Williamson
On Fri, 30 Aug 2019 08:06:32 + "Tian, Kevin" wrote: > > From: Tian, Kevin > > Sent: Friday, August 30, 2019 3:26 PM > > > [...] > > > How does QEMU handle the fact that IOVAs are potentially dynamic while > > > performing the live portion of a migration? For example, each time a > > > gue

Re: [Qemu-devel] [PATCH v8 01/13] vfio: KABI for migration interface

2019-08-30 Thread Alex Williamson
On Fri, 30 Aug 2019 07:25:59 + "Tian, Kevin" wrote: > > From: Alex Williamson [mailto:alex.william...@redhat.com] > > Sent: Thursday, August 29, 2019 4:51 AM > > > > On Tue, 27 Aug 2019 00:25:41 +0530 > > Kirti Wankhede wrote: > > > > > - Defined MIGRATION region type and sub-type. > > >

Re: [Qemu-devel] [PATCH v8 01/13] vfio: KABI for migration interface

2019-08-30 Thread Tian, Kevin
> From: Tian, Kevin > Sent: Friday, August 30, 2019 3:26 PM > [...] > > How does QEMU handle the fact that IOVAs are potentially dynamic while > > performing the live portion of a migration? For example, each time a > > guest driver calls dma_map_page() or dma_unmap_page(), a > > MemoryRegionSect

Re: [Qemu-devel] [PATCH v8 01/13] vfio: KABI for migration interface

2019-08-30 Thread Tian, Kevin
> From: Alex Williamson [mailto:alex.william...@redhat.com] > Sent: Thursday, August 29, 2019 4:51 AM > > On Tue, 27 Aug 2019 00:25:41 +0530 > Kirti Wankhede wrote: > > > - Defined MIGRATION region type and sub-type. > > - Used 3 bits to define VFIO device states. > > Bit 0 => _RUNNING > >

Re: [Qemu-devel] [PATCH v8 01/13] vfio: KABI for migration interface

2019-08-28 Thread Alex Williamson
On Tue, 27 Aug 2019 00:25:41 +0530 Kirti Wankhede wrote: > - Defined MIGRATION region type and sub-type. > - Used 3 bits to define VFIO device states. > Bit 0 => _RUNNING > Bit 1 => _SAVING > Bit 2 => _RESUMING > Combination of these bits defines VFIO device's state during migrati

[Qemu-devel] [PATCH v8 01/13] vfio: KABI for migration interface

2019-08-26 Thread Kirti Wankhede
- Defined MIGRATION region type and sub-type. - Used 3 bits to define VFIO device states. Bit 0 => _RUNNING Bit 1 => _SAVING Bit 2 => _RESUMING Combination of these bits defines VFIO device's state during migration _STOPPED => All bits 0 indicates VFIO device stopped. _RUNNI