Re: [Qemu-devel] [PATCH 1/5] VFIO KABI for migration interface

2018-12-04 Thread Alex Williamson
On Tue, 4 Dec 2018 11:53:33 +0100 Cornelia Huck wrote: > On Tue, 27 Nov 2018 12:52:48 -0700 > Alex Williamson wrote: > > > Actually I'm wondering if we can distill everything down to two bits, > > STOPPED and LOGGING. > > > > We start at RUNNING, the user can optionally enable LOGGING when > >

Re: [Qemu-devel] [PATCH 1/5] VFIO KABI for migration interface

2018-12-04 Thread Cornelia Huck
On Tue, 27 Nov 2018 12:52:48 -0700 Alex Williamson wrote: > Actually I'm wondering if we can distill everything down to two bits, > STOPPED and LOGGING. > > We start at RUNNING, the user can optionally enable LOGGING when > supported by the device to cover the SETUP and PRECOPY states > proposed

Re: [Qemu-devel] [PATCH 1/5] VFIO KABI for migration interface

2018-11-27 Thread Alex Williamson
On Wed, 21 Nov 2018 02:09:39 +0530 Kirti Wankhede wrote: > - Defined MIGRATION region type and sub-type. > - Defined VFIO device states during migration process. > - Defined vfio_device_migration_info structure which will be placed at 0th > offset of migration region to get/set VFIO device rela

Re: [Qemu-devel] [PATCH 1/5] VFIO KABI for migration interface

2018-11-25 Thread Tian, Kevin
> From: Kirti Wankhede [mailto:kwankh...@nvidia.com] > Sent: Friday, November 23, 2018 4:02 AM > [...] > > > > I looked at the explanations in this patch, but still didn't get the > > intention, > e.g.: > > > > + * - VFIO_DEVICE_STATE_MIGRATION_SETUP: > > + * Transition VFIO device in migration

Re: [Qemu-devel] [PATCH 1/5] VFIO KABI for migration interface

2018-11-23 Thread Dr. David Alan Gilbert
* Kirti Wankhede (kwankh...@nvidia.com) wrote: > > > On 11/23/2018 12:24 AM, Dr. David Alan Gilbert wrote: > > * Kirti Wankhede (kwankh...@nvidia.com) wrote: > >> - Defined MIGRATION region type and sub-type. > >> - Defined VFIO device states during migration process. > >> - Defined vfio_device_m

Re: [Qemu-devel] [PATCH 1/5] VFIO KABI for migration interface

2018-11-22 Thread Zhao Yan
On Wed, Nov 21, 2018 at 04:39:39AM +0800, Kirti Wankhede wrote: > - Defined MIGRATION region type and sub-type. > - Defined VFIO device states during migration process. > - Defined vfio_device_migration_info structure which will be placed at 0th > offset of migration region to get/set VFIO device

Re: [Qemu-devel] [PATCH 1/5] VFIO KABI for migration interface

2018-11-22 Thread Kirti Wankhede
On 11/23/2018 12:24 AM, Dr. David Alan Gilbert wrote: > * Kirti Wankhede (kwankh...@nvidia.com) wrote: >> - Defined MIGRATION region type and sub-type. >> - Defined VFIO device states during migration process. >> - Defined vfio_device_migration_info structure which will be placed at 0th >> off

Re: [Qemu-devel] [PATCH 1/5] VFIO KABI for migration interface

2018-11-22 Thread Kirti Wankhede
On 11/21/2018 11:43 AM, Tian, Kevin wrote: >> From: Kirti Wankhede [mailto:kwankh...@nvidia.com] >> Sent: Wednesday, November 21, 2018 12:24 PM >> >> >> On 11/21/2018 5:56 AM, Tian, Kevin wrote: From: Kirti Wankhede [mailto:kwankh...@nvidia.com] Sent: Wednesday, November 21, 2018 4:40

Re: [Qemu-devel] [PATCH 1/5] VFIO KABI for migration interface

2018-11-22 Thread Dr. David Alan Gilbert
* Kirti Wankhede (kwankh...@nvidia.com) wrote: > - Defined MIGRATION region type and sub-type. > - Defined VFIO device states during migration process. > - Defined vfio_device_migration_info structure which will be placed at 0th > offset of migration region to get/set VFIO device related informat

Re: [Qemu-devel] [PATCH 1/5] VFIO KABI for migration interface

2018-11-21 Thread Pierre Morel
On 20/11/2018 21:39, Kirti Wankhede wrote: - Defined MIGRATION region type and sub-type. - Defined VFIO device states during migration process. - Defined vfio_device_migration_info structure which will be placed at 0th offset of migration region to get/set VFIO device related information. D

Re: [Qemu-devel] [PATCH 1/5] VFIO KABI for migration interface

2018-11-20 Thread Tian, Kevin
> From: Kirti Wankhede [mailto:kwankh...@nvidia.com] > Sent: Wednesday, November 21, 2018 12:24 PM > > > On 11/21/2018 5:56 AM, Tian, Kevin wrote: > >> From: Kirti Wankhede [mailto:kwankh...@nvidia.com] > >> Sent: Wednesday, November 21, 2018 4:40 AM > >> > >> - Defined MIGRATION region type and

Re: [Qemu-devel] [PATCH 1/5] VFIO KABI for migration interface

2018-11-20 Thread Kirti Wankhede
On 11/21/2018 5:56 AM, Tian, Kevin wrote: >> From: Kirti Wankhede [mailto:kwankh...@nvidia.com] >> Sent: Wednesday, November 21, 2018 4:40 AM >> >> - Defined MIGRATION region type and sub-type. >> - Defined VFIO device states during migration process. >> - Defined vfio_device_migration_info stru

Re: [Qemu-devel] [PATCH 1/5] VFIO KABI for migration interface

2018-11-20 Thread Tian, Kevin
> From: Kirti Wankhede [mailto:kwankh...@nvidia.com] > Sent: Wednesday, November 21, 2018 4:40 AM > > - Defined MIGRATION region type and sub-type. > - Defined VFIO device states during migration process. > - Defined vfio_device_migration_info structure which will be placed at 0th > offset of mi

[Qemu-devel] [PATCH 1/5] VFIO KABI for migration interface

2018-11-20 Thread Kirti Wankhede
- Defined MIGRATION region type and sub-type. - Defined VFIO device states during migration process. - Defined vfio_device_migration_info structure which will be placed at 0th offset of migration region to get/set VFIO device related information. Defined actions and members of structure usage f