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

2020-10-24 Thread Yan Zhao
Reviewed-by: Yan Zhao On Fri, Oct 23, 2020 at 04:10:34PM +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: > -

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

2020-10-23 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 k