[libvirt] [PATCH 0/4] Fix a race to using monConfig

John Ferlan jferlan at redhat.com
Fri Apr 6 16:53:36 UTC 2018


As reported by Marc Hartmayer <mhartmay at linux.vnet.ibm.com>:

https://www.redhat.com/archives/libvir-list/2018-March/msg01156.html

there is a race to using the priv->monConfig between the Create
and destroy domain processing. The patches describe the steps taken
to resolve the issue.

John Ferlan (4):
  conf: Use virDomainChrSourceDefNew for vhostuser
  qemu: Use virDomainChrSourceDefNew for monConfig
  conf: Convert virDomainChrSourceDefNew to return object
  qemu: Obtain reference on monConfig

 src/conf/domain_conf.c   | 37 ++++++++++++++++++++++++++++++++-----
 src/conf/domain_conf.h   |  3 +++
 src/libvirt_private.syms |  1 +
 src/qemu/qemu_domain.c   |  2 +-
 src/qemu/qemu_process.c  |  8 ++++++--
 5 files changed, 43 insertions(+), 8 deletions(-)

-- 
2.13.6




More information about the libvir-list mailing list