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