On Thu, Aug 31, 2023 at 03:57:00PM +0300, Avihai Horon wrote: > Add a new .save_prepare() handler to struct SaveVMHandlers. This handler > is called early, even before migration starts, and can be used by > devices to perform early checks. > > Suggested-by: Peter Xu <pet...@redhat.com> > Signed-off-by: Avihai Horon <avih...@nvidia.com>
Shouldn't be hard to unify the two call sites for qmp migrate and save snapshot, but we can leave that for later: Reviewed-by: Peter Xu <pet...@redhat.com> Thanks, -- Peter Xu