]> git.proxmox.com Git - mirror_qemu.git/commit
migration/savevm: don't worry if bitmap migration postcopy failed
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Mon, 27 Jul 2020 19:42:32 +0000 (22:42 +0300)
committerEric Blake <eblake@redhat.com>
Mon, 27 Jul 2020 20:41:34 +0000 (15:41 -0500)
commitee64722514fabcad2430982ade86180208f5be4f
treec1f084857826ec00b06ee638f342cdea0a66a07d
parent1499ab096950364d634418e7aefb562694d6c953
migration/savevm: don't worry if bitmap migration postcopy failed

First, if only bitmaps postcopy is enabled (and not ram postcopy)
postcopy_pause_incoming crashes on an assertion
assert(mis->to_src_file).

And anyway, bitmaps postcopy is not prepared to be somehow recovered.
The original idea instead is that if bitmaps postcopy failed, we just
lose some bitmaps, which is not critical. So, on failure we just need
to remove unfinished bitmaps and guest should continue execution on
destination.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Andrey Shinkevich <andrey.shinkevich@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20200727194236.19551-18-vsementsov@virtuozzo.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
migration/savevm.c