]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
qemu: stop NBD server after successful migration
authorWeiwei Li <nuonuoli@tencent.com>
Tue, 4 Nov 2014 09:52:10 +0000 (10:52 +0100)
committerJán Tomko <jtomko@redhat.com>
Tue, 4 Nov 2014 09:54:53 +0000 (10:54 +0100)
commitc3012a023f2ae5763027cafc1cf2881a3c7c4b45
tree33063ee6e2050460289149e9bc429f7d3cd2f010
parent5c8515620bd63b4f9fd848fdad275922928975c7
qemu: stop NBD server after successful migration

In qemuMigrationFinish mig->nbd can not be initialized by
qemuMigrationEatCookie without the QEMU_MIGRATION_COOKIE_NBD flag.
That causes qemuMigrationStopNBDServer to return early without
stopping the NBD server properly.

Signed-off-by: Weiwei Li <nuonuoli@tencent.com>
Signed-off-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_migration.c