[libvirt] [PATCH 1/2] qemu: Turn closeCallbacks into virObjectLockable

Michal Privoznik mprivozn at redhat.com
Tue Feb 19 09:21:16 UTC 2013


On 18.02.2013 17:07, Jiri Denemark wrote:
> 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      | 155 ++++++++++++++++++++++++++++++----------------
>  src/qemu/qemu_conf.h      |  39 ++++++------
>  src/qemu/qemu_driver.c    |  12 ++--
>  src/qemu/qemu_migration.c |   6 +-
>  src/qemu/qemu_process.c   |  10 +--
>  5 files changed, 136 insertions(+), 86 deletions(-)

ACK

Michal




More information about the libvir-list mailing list