]> git.ipfire.org Git - thirdparty/libvirt.git/commit
libxl: join with thread receiving migration data
authorJim Fehlig <jfehlig@suse.com>
Fri, 24 Aug 2018 21:38:14 +0000 (15:38 -0600)
committerJim Fehlig <jfehlig@suse.com>
Tue, 11 Sep 2018 15:20:17 +0000 (09:20 -0600)
commit5ea2abb3bfd552175dc2dfcc295fde3fbf17fc37
tree45c0ff29ce0c65e76809724194f7f657b29e62c4
parent0149464afc7100f048a2468e40e84b6a50aeb3a3
libxl: join with thread receiving migration data

It is possible the incoming VM is not fully started when the finish
phase of migration is executed. In libxlDomainMigrationDstFinish,
wait for the thread receiving the VM to complete before executing
finish phase tasks.

Signed-off-by: Jim Fehlig <jfehlig@suse.com>
ACKed-by: Michal Privoznik <mprivozn@redhat.com>
src/libxl/libxl_domain.h
src/libxl/libxl_migration.c