qemu-e2k/migration
Dr. David Alan Gilbert 42da5550d6 migration: set state to post-migrate on failure
If a migration fails/is cancelled during the postcopy stage we currently
end up with the runstate as finish-migrate, where it should be post-migrate.
There's a small window in precopy where I think the same thing can
happen, but I've never seen it.

It rarely matters; the only postcopy case is if you restart a migration, which
again is a case that rarely matters in postcopy because it's only
safe to restart the migration if you know the destination hasn't
been running (which you might if you started the destination with -S
and hadn't got around to 'c' ing it before the postcopy failed).
Even then it's a small window but potentially you could hit if
there's a problem loading the devices on the destination.

This corresponds to:
https://bugzilla.redhat.com/show_bug.cgi?id=1355683

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Amit Shah <amit.shah@redhat.com>
Message-Id: <1468601086-32117-1-git-send-email-dgilbert@redhat.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
2016-07-22 13:23:09 +05:30
..
block.c migration/block: Convert saving to BlockBackend 2016-06-08 10:21:08 +02:00
exec.c migration: rename functions to starting migrations 2016-06-16 09:51:37 +05:30
fd.c migration: rename functions to starting migrations 2016-06-16 09:51:37 +05:30
Makefile.objs migration: add support for encrypting data with TLS 2016-05-26 11:32:13 +05:30
migration.c migration: set state to post-migrate on failure 2016-07-22 13:23:09 +05:30
postcopy-ram.c os-posix: include sys/mman.h 2016-06-16 18:39:03 +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 qemu-file: Fix qemu_put_compression_data flaw 2016-06-17 18:24:18 +05:30
qjson.c
ram.c migration: code clean up 2016-06-17 18:24:31 +05:30
rdma.c migration: rename functions to starting migrations 2016-06-16 09:51:37 +05:30
savevm.c hmp: show all of snapshot info on every block dev in output of 'info snapshots' 2016-07-13 13:41:39 +02:00
socket.c migration: rename functions to starting migrations 2016-06-16 09:51:37 +05:30
tls.c migration: rename functions to starting migrations 2016-06-16 09:51:37 +05:30
trace-events trace: split out trace events for migration/ directory 2016-06-20 17:22:14 +01:00
vmstate.c migration: Trace improvements 2016-06-17 18:23:53 +05:30
xbzrle.c