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

John Ferlan posted 4 patches 5 years, 11 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20180406165340.7473-1-jferlan@redhat.com
Test syntax-check passed
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(-)
[libvirt] [PATCH 0/4] Fix a race to using monConfig
Posted by John Ferlan 5 years, 11 months ago
As reported by Marc Hartmayer <mhartmay@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

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list