libvirt/src/openvz
Daniel P. Berrange a340f9131a Add reference counting on virDomainObjPtr objects
Add reference counting on the virDomainObjPtr objects. With the
forthcoming asynchronous QEMU monitor, it will be neccessary to
release the lock on virDomainObjPtr while waiting for a monitor
command response. It is neccessary to ensure one thread can't
delete a virDomainObjPtr while another is waiting. By introducing
reference counting threads can make sure objects they are using
are not accidentally deleted while unlocked.

* src/conf/domain_conf.h, src/conf/domain_conf.c: Add
  virDomainObjRef/Unref APIs, remove virDomainObjFree
* src/openvz/openvz_conf.c: replace call to virDomainObjFree
  with virDomainObjUnref
2009-11-10 12:16:53 +00:00
..
openvz_conf.c Add reference counting on virDomainObjPtr objects 2009-11-10 12:16:53 +00:00
openvz_conf.h Move OpenVZ driver to src/openvz/ 2009-09-21 14:41:43 +01:00
openvz_driver.c Add missing OOM error checks, reports and cleanups 2009-11-09 23:17:45 +01:00
openvz_driver.h Move OpenVZ driver to src/openvz/ 2009-09-21 14:41:43 +01:00