]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Handle post-copy migration failures
authorJiri Denemark <jdenemar@redhat.com>
Wed, 13 Jan 2016 15:29:58 +0000 (16:29 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Mon, 21 Mar 2016 14:15:46 +0000 (15:15 +0100)
commit630517d86077403381eefcf901e4e4e99590b083
tree91265486435cdfdc4927f9e38504b217a6a7911b
parent81b2a2c74921145294299386cdd940071036aaef
qemu: Handle post-copy migration failures

When migration fails in the post-copy mode, it's impossible to just kill
the destination domain and resume the source since the source no longer
contains current guest state. Let's mark domains on both sides as
VIR_DOMAIN_PAUSED_POSTCOPY_FAILED to let the upper layer decide what to
do with them.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
src/qemu/qemu_migration.c
src/qemu/qemu_migration.h
src/qemu/qemu_process.c