[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]