]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Cancel disk mirrors after libvirtd restart
authorJiri Denemark <jdenemar@redhat.com>
Tue, 19 May 2015 15:28:25 +0000 (17:28 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Fri, 19 Jun 2015 13:15:11 +0000 (15:15 +0200)
commite8f263e0d006390c3764aaa07093b2d174b61379
tree0ca50412ef04a2d8dfccb90b9c06ab283b954a2f
parent3a18bd2d7adc7653dec3766df1c9b34b67eb170f
qemu: Cancel disk mirrors after libvirtd restart

When libvirtd is restarted during migration, we properly cancel the
ongoing migration (unless it managed to almost finished before the
restart). But if we were also migrating storage using NBD, we would
completely forget about the running disk mirrors.

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