qemu/migration
Kevin Wolf ace21a5875 migration: Unify block node activation error handling
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 <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
2017-05-11 12:08:24 +02:00
..
block.c migration/block: use blk_pwrite_zeroes for each zero cluster 2017-04-21 10:36:12 +01:00
colo-comm.c COLO: Add 'x-colo-lost-heartbeat' command to trigger failover 2016-10-30 15:17:39 +05:30
colo-failover.c COLO: Implement the process of failover for primary VM 2016-10-30 15:17:39 +05:30
colo.c replication: Make --disable-replication compile again 2017-04-28 16:50:16 +01:00
exec.c migration: setup bi-directional I/O channel for exec: protocol 2017-05-04 10:00:38 +02:00
fd.c migration: set name for all I/O channels created 2016-10-27 09:13:10 +02:00
Makefile.objs build: remove --enable-colo/--disable-colo 2017-01-16 17:52:35 +01:00
migration.c migration: Unify block node activation error handling 2017-05-11 12:08:24 +02:00
postcopy-ram.c migration: Move postcopy-ram.h to migration/ 2017-05-04 10:40:30 +02:00
postcopy-ram.h migration: Move postcopy-ram.h to migration/ 2017-05-04 10:40:30 +02:00
qemu-file-channel.c migration: introduce a new QEMUFile impl based on QIOChannel 2016-05-26 11:31:24 +05:30
qemu-file.c add 'release-ram' migrate capability 2017-02-13 17:27:13 +00:00
qjson.c qjson: free str 2016-08-08 00:00:24 +04:00
ram.c migration: Extra tracing 2017-05-04 10:41:23 +02:00
rdma.c sockets: Prepare inet_parse() for flattened SocketAddress 2017-05-09 09:14:40 +02:00
savevm.c migration: Unify block node activation error handling 2017-05-11 12:08:24 +02:00
socket.c sockets: Limit SocketAddressLegacy to external interfaces 2017-05-09 09:14:40 +02:00
tls.c migration: to_dst_file at that point is NULL 2017-05-04 10:00:38 +02:00
trace-events migration: Extra tracing 2017-05-04 10:41:23 +02:00
vmstate.c vmstate: fix failed iotests case 68 and 91 2017-03-16 08:59:52 +01:00
xbzrle.c util: move declarations out of qemu-common.h 2016-03-22 22:20:17 +01:00