]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Turn closeCallbacks into virObjectLockable
authorJiri Denemark <jdenemar@redhat.com>
Fri, 15 Feb 2013 12:05:12 +0000 (13:05 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Thu, 21 Feb 2013 09:27:24 +0000 (10:27 +0100)
commit3898ba7f2cf067ae5852c40d68460c64fb06c94f
treed6a0aeebf8c86994b05466f511a48d32cf85d2ff
parent091831633f91009379ff9daf2dc98f917aefa12f
qemu: Turn closeCallbacks into virObjectLockable

To avoid having to hold the qemu driver lock while iterating through
close callbacks and calling them. This fixes a real deadlock when a
domain which is being migrated from another host gets autodestoyed as a
result of broken connection to the other host.
src/qemu/qemu_conf.c
src/qemu/qemu_conf.h
src/qemu/qemu_driver.c
src/qemu/qemu_migration.c
src/qemu/qemu_process.c