]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Refactor qemuMigrationWaitForCompletion
authorJiri Denemark <jdenemar@redhat.com>
Thu, 28 May 2015 09:58:11 +0000 (11:58 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Fri, 19 Jun 2015 13:15:12 +0000 (15:15 +0200)
commitd29c45587bcc24a899bbd112eae4d903836957ea
tree536aba18cc8cf10b5c118f775bc72ec497cb94b8
parent92b5bcccaa89072ff646f0c7db290c6b7ec279c9
qemu: Refactor qemuMigrationWaitForCompletion

Checking status of all part of migration and aborting it when something
failed is a complex thing which makes the waiting loop hard to read.
This patch moves all the checks into a separate function similarly to
what was done for drive mirror loops.

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