Re: [PATCH v16 QEMU 08/16] vfio: Register SaveVMHandlers for VFIO device

2020-05-07 Thread Alex Williamson
On Thu, 7 May 2020 01:00:05 +0530 Kirti Wankhede wrote: > On 5/6/2020 10:23 PM, Dr. David Alan Gilbert wrote: > > * Cornelia Huck (coh...@redhat.com) wrote: > >> On Wed, 6 May 2020 02:38:46 -0400 > >> Yan Zhao wrote: > >> > >>> On Tue, May 05, 2020 at 12:37:26PM +0800, Alex Williamson

Re: [PATCH v16 QEMU 08/16] vfio: Register SaveVMHandlers for VFIO device

2020-05-07 Thread Cornelia Huck
On Thu, 7 May 2020 01:00:05 +0530 Kirti Wankhede wrote: > On 5/6/2020 10:23 PM, Dr. David Alan Gilbert wrote: > > * Cornelia Huck (coh...@redhat.com) wrote: > >> On Wed, 6 May 2020 02:38:46 -0400 > >> Yan Zhao wrote: > >> > >>> On Tue, May 05, 2020 at 12:37:26PM +0800, Alex Williamson

Re: [PATCH v16 QEMU 08/16] vfio: Register SaveVMHandlers for VFIO device

2020-05-06 Thread Kirti Wankhede
On 5/6/2020 10:23 PM, Dr. David Alan Gilbert wrote: * Cornelia Huck (coh...@redhat.com) wrote: On Wed, 6 May 2020 02:38:46 -0400 Yan Zhao wrote: On Tue, May 05, 2020 at 12:37:26PM +0800, Alex Williamson wrote: It's been a long time, but that doesn't seem like what I was asking. The sysfs

Re: [PATCH v16 QEMU 08/16] vfio: Register SaveVMHandlers for VFIO device

2020-05-06 Thread Dr. David Alan Gilbert
* Cornelia Huck (coh...@redhat.com) wrote: > On Wed, 6 May 2020 02:38:46 -0400 > Yan Zhao wrote: > > > On Tue, May 05, 2020 at 12:37:26PM +0800, Alex Williamson wrote: > > > It's been a long time, but that doesn't seem like what I was asking. > > > The sysfs version checking is used to select a

Re: [PATCH v16 QEMU 08/16] vfio: Register SaveVMHandlers for VFIO device

2020-05-06 Thread Cornelia Huck
On Wed, 6 May 2020 02:38:46 -0400 Yan Zhao wrote: > On Tue, May 05, 2020 at 12:37:26PM +0800, Alex Williamson wrote: > > It's been a long time, but that doesn't seem like what I was asking. > > The sysfs version checking is used to select a target that is likely to > > succeed, but the migration

Re: [PATCH v16 QEMU 08/16] vfio: Register SaveVMHandlers for VFIO device

2020-05-06 Thread Yan Zhao
On Tue, May 05, 2020 at 12:37:26PM +0800, Alex Williamson wrote: > On Tue, 5 May 2020 04:49:10 +0530 > Kirti Wankhede wrote: > > > On 3/26/2020 2:32 AM, Alex Williamson wrote: > > > On Wed, 25 Mar 2020 02:39:06 +0530 > > > Kirti Wankhede wrote: > > > > > >> Define flags to be used as

Re: [PATCH v16 QEMU 08/16] vfio: Register SaveVMHandlers for VFIO device

2020-05-04 Thread Alex Williamson
On Tue, 5 May 2020 04:49:10 +0530 Kirti Wankhede wrote: > On 3/26/2020 2:32 AM, Alex Williamson wrote: > > On Wed, 25 Mar 2020 02:39:06 +0530 > > Kirti Wankhede wrote: > > > >> Define flags to be used as delimeter in migration file stream. > >> Added .save_setup and .save_cleanup functions.

Re: [PATCH v16 QEMU 08/16] vfio: Register SaveVMHandlers for VFIO device

2020-05-04 Thread Kirti Wankhede
On 4/1/2020 11:06 PM, Dr. David Alan Gilbert wrote: * Kirti Wankhede (kwankh...@nvidia.com) wrote: Define flags to be used as delimeter in migration file stream. Added .save_setup and .save_cleanup functions. Mapped & unmapped migration region from these functions at source during saving or

Re: [PATCH v16 QEMU 08/16] vfio: Register SaveVMHandlers for VFIO device

2020-05-04 Thread Kirti Wankhede
On 3/26/2020 2:32 AM, Alex Williamson wrote: On Wed, 25 Mar 2020 02:39:06 +0530 Kirti Wankhede wrote: Define flags to be used as delimeter in migration file stream. Added .save_setup and .save_cleanup functions. Mapped & unmapped migration region from these functions at source during

Re: [PATCH v16 QEMU 08/16] vfio: Register SaveVMHandlers for VFIO device

2020-04-01 Thread Dr. David Alan Gilbert
* Kirti Wankhede (kwankh...@nvidia.com) wrote: > Define flags to be used as delimeter in migration file stream. > Added .save_setup and .save_cleanup functions. Mapped & unmapped migration > region from these functions at source during saving or pre-copy phase. > Set VFIO device state depending on

Re: [PATCH v16 QEMU 08/16] vfio: Register SaveVMHandlers for VFIO device

2020-03-25 Thread Alex Williamson
On Wed, 25 Mar 2020 02:39:06 +0530 Kirti Wankhede wrote: > Define flags to be used as delimeter in migration file stream. > Added .save_setup and .save_cleanup functions. Mapped & unmapped migration > region from these functions at source during saving or pre-copy phase. > Set VFIO device state

[PATCH v16 QEMU 08/16] vfio: Register SaveVMHandlers for VFIO device

2020-03-24 Thread Kirti Wankhede
Define flags to be used as delimeter in migration file stream. Added .save_setup and .save_cleanup functions. Mapped & unmapped migration region from these functions at source during saving or pre-copy phase. Set VFIO device state depending on VM's state. During live migration, VM is running when