"Maciej S. Szmigiero" <m...@maciej.szmigiero.name> writes: > From: "Maciej S. Szmigiero" <maciej.szmigi...@oracle.com> > > It's possible for {load,save}_cleanup SaveVMHandlers to get called without > the corresponding {load,save}_setup handler being called first. > > One such example is if {load,save}_setup handler of a proceeding device > returns error. > In this case the migration core cleanup code will call all corresponding > cleanup handlers, even for these devices which haven't had its setup > handler called. > > Since this behavior can generate some surprises let's clearly document it > in these SaveVMHandlers description. > > Signed-off-by: Maciej S. Szmigiero <maciej.szmigi...@oracle.com>
Reviewed-by: Fabiano Rosas <faro...@suse.de>