On 05/04/2017 11:52 AM, Kevin Wolf wrote: > Migration code activates all block driver nodes on the destination when > the migration completes. It does so by calling > bdrv_invalidate_cache_all() and blk_resume_after_migration(). There is > one code path for precopy and one for postcopy migration, resulting in > four function calls, which used to have three different failure modes. > > This patch unifies the behaviour so that failure to activate all block > nodes is non-fatal, but the error message is logged and the VM isn't > automatically started. 'cont' will retry activating the block nodes. > > Signed-off-by: Kevin Wolf <kw...@redhat.com> > --- > migration/migration.c | 16 +++++----------- > migration/savevm.c | 12 +++++------- > qmp.c | 18 +++++++++--------- > 3 files changed, 19 insertions(+), 27 deletions(-) > Reviewed-by: Eric Blake <ebl...@redhat.com>
-- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org
signature.asc
Description: OpenPGP digital signature