[libvirt] [PATCH 0/3] qemu: fix racy paths in agent related code

Nikolay Shirokovskiy nshirokovskiy at virtuozzo.com
Thu Nov 24 09:19:20 UTC 2016


Patch 1 is a nitpick I found when working on Patch 2.
Patch 2 and 3 fix a couple of race conditions in code.

A lot of changes is inherent refactorings in Patch 2 actually.

Nikolay Shirokovskiy (3):
  qemu: agent: fix uninitialized var case in qemuAgentGetFSInfo
  qemu: don't use vmdef without domain lock
  qemu: agent: take monitor lock in qemuAgentNotifyEvent

 src/qemu/qemu_agent.c                    | 57 +++++++++++++--------
 src/qemu/qemu_agent.h                    | 25 ++++++++-
 src/qemu/qemu_driver.c                   | 88 +++++++++++++++++++++++++++++++-
 tests/Makefile.am                        |  1 -
 tests/qemuagentdata/qemuagent-fsinfo.xml | 39 --------------
 tests/qemuagenttest.c                    | 47 +++++++----------
 6 files changed, 164 insertions(+), 93 deletions(-)
 delete mode 100644 tests/qemuagentdata/qemuagent-fsinfo.xml

-- 
1.8.3.1




More information about the libvir-list mailing list