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

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

 



As reported by Marc Hartmayer <mhartmay@xxxxxxxxxxxxxxxxxx>:

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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux