[libvirt] [PATCH 0/2] qemu: Fix deadlocks in autodestroy

Jiri Denemark jdenemar at redhat.com
Mon Feb 18 16:07:43 UTC 2013


After the recent removal of qemu driver locks, implicit driver locks were
introduced in places that previously relied on being called from functions
that alread had the driver locked. Thus calling anything complex (such as
close callbacks) must not be called when the driver is locked...

Jiri Denemark (2):
  qemu: Turn closeCallbacks into virObjectLockable
  qemu: Avoid deadlock in autodestroy

 src/qemu/qemu_conf.c      | 172 ++++++++++++++++++++++++++++------------------
 src/qemu/qemu_conf.h      |  43 ++++++------
 src/qemu/qemu_domain.h    |   1 +
 src/qemu/qemu_driver.c    |  12 ++--
 src/qemu/qemu_migration.c |   6 +-
 src/qemu/qemu_process.c   |  20 ++++--
 6 files changed, 153 insertions(+), 101 deletions(-)

-- 
1.8.1.2




More information about the libvir-list mailing list