Re: [PATCH QEMU v25 08/17] vfio: Add save state functions to SaveVMHandlers

2020-06-23 Thread Alex Williamson
On Wed, 24 Jun 2020 02:04:24 +0530 Kirti Wankhede wrote: > On 6/23/2020 4:20 AM, Alex Williamson wrote: > > On Sun, 21 Jun 2020 01:51:17 +0530 > > Kirti Wankhede wrote: > > > >> Added .save_live_pending, .save_live_iterate and > >> .save_live_complete_precopy > >> functions. These functions

Re: [PATCH QEMU v25 08/17] vfio: Add save state functions to SaveVMHandlers

2020-06-23 Thread Kirti Wankhede
On 6/23/2020 4:20 AM, Alex Williamson wrote: On Sun, 21 Jun 2020 01:51:17 +0530 Kirti Wankhede wrote: Added .save_live_pending, .save_live_iterate and .save_live_complete_precopy functions. These functions handles pre-copy and stop-and-copy phase. In _SAVING|_RUNNING device state or

Re: [PATCH QEMU v25 08/17] vfio: Add save state functions to SaveVMHandlers

2020-06-22 Thread Alex Williamson
On Sun, 21 Jun 2020 01:51:17 +0530 Kirti Wankhede wrote: > Added .save_live_pending, .save_live_iterate and .save_live_complete_precopy > functions. These functions handles pre-copy and stop-and-copy phase. > > In _SAVING|_RUNNING device state or pre-copy phase: > - read pending_bytes. If

[PATCH QEMU v25 08/17] vfio: Add save state functions to SaveVMHandlers

2020-06-20 Thread Kirti Wankhede
Added .save_live_pending, .save_live_iterate and .save_live_complete_precopy functions. These functions handles pre-copy and stop-and-copy phase. In _SAVING|_RUNNING device state or pre-copy phase: - read pending_bytes. If pending_bytes > 0, go through below steps. - read data_offset - indicates