]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: cancel drive mirrors when p2p connection breaks
authorJiri Denemark <jdenemar@redhat.com>
Mon, 1 Jun 2015 12:41:50 +0000 (14:41 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Fri, 19 Jun 2015 13:19:49 +0000 (15:19 +0200)
commitd823fa6f6407a9f1bf474ef7fc1dad845c3484ea
tree83f364666162cc56b1027c029d531a6fd5734f1d
parentd29c45587bcc24a899bbd112eae4d903836957ea
qemu: cancel drive mirrors when p2p connection breaks

When a connection to the destination host during a p2p migration drops,
we know we will have to cancel the migration; it doesn't make sense to
waste resources by trying to finish the migration. We already do so
after sending "migrate" command to QEMU and we should do it while
waiting for drive mirrors to become ready too.

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