]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Cancel p2p migration when connection breaks
authorJiri Denemark <jdenemar@redhat.com>
Fri, 23 Sep 2011 06:56:56 +0000 (08:56 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Thu, 24 Nov 2011 11:00:10 +0000 (12:00 +0100)
commit3a6a2624287157055217a42256e327c5e2ff05e8
tree0cb6e1b9904848cbd6c1da8eaf89a203cdbe4833
parent1e626437194d3851b6845bc7bdebf814a3433b6e
qemu: Cancel p2p migration when connection breaks

If a connection to destination host is lost during peer-to-peer
migration (because keepalive protocol timed out), we won't be able to
finish the migration and it doesn't make sense to wait for qemu to
transmit all data. This patch automatically cancels such migration
without waiting for virDomainAbortJob to be called.
src/qemu/qemu_migration.c