]> git.proxmox.com Git - mirror_qemu.git/commit - migration/migration.c
migration: introduce SaveVMHandlers.resume_prepare
authorPeter Xu <peterx@redhat.com>
Wed, 2 May 2018 10:47:31 +0000 (18:47 +0800)
committerJuan Quintela <quintela@redhat.com>
Tue, 15 May 2018 18:56:55 +0000 (20:56 +0200)
commitd1b8eadbc43739992eed75912f6a065b9f299221
treecfb3fd6f4622ead92670628c88dd535b328b0bf1
parent13955b89ce54a85a9e88c64a196db61aa8bf0f34
migration: introduce SaveVMHandlers.resume_prepare

This is hook function to be called when a postcopy migration wants to
resume from a failure. For each module, it should provide its own
recovery logic before we switch to the postcopy-active state.

Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20180502104740.12123-16-peterx@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
include/migration/register.h
migration/migration.c
migration/savevm.c
migration/savevm.h
migration/trace-events