libvirt/src/conf
Daniel P. Berrange 8e7d14953c Fix virDomainObj ref handling in QEMU driver
Since the monitor I/O is processed out of band from the main
thread(s) invoking monitor  commands, the virDomainObj may be
deleted by the I/O thread. The qemuDomainObjBeginJob takes an
extra reference to protect against final deletion, but this
reference is released by the corresponding EndJob call. THus
after the EndJob call it may not be valid to reference the
virDomainObj any more. To allow callers to detect this, the
EndJob call is changed to return the remaining reference count.

* src/conf/domain_conf.c: Make virDomainObjUnref return the
  remaining reference count
* src/qemu/qemu_driver.c: Avoid referencing virDomainObjPtr
  after qemuDomainObjEndJob if it has been deleted.
2009-12-09 10:32:45 +00:00
..
capabilities.c Take domain type into account when looking up default machine 2009-10-12 10:57:35 +01:00
capabilities.h Introduce callbacks for serializing domain object private data to XML 2009-12-08 13:46:54 +00:00
domain_conf.c Fix virDomainObj ref handling in QEMU driver 2009-12-09 10:32:45 +00:00
domain_conf.h Introduce callbacks for serializing domain object private data to XML 2009-12-08 13:46:54 +00:00
domain_event.c Move all XML configuration handling to src/conf/ 2009-09-21 14:41:46 +01:00
domain_event.h Move all XML configuration handling to src/conf/ 2009-09-21 14:41:46 +01:00
interface_conf.c Fix improper error return in virInterfaceDefParseProtoIPvX 2009-11-03 21:04:56 +01:00
interface_conf.h Support for IPv6 / multiple addresses per interfaces 2009-11-03 21:04:56 +01:00
network_conf.c Store the range size when adding a DHCP range 2009-11-06 18:07:24 +01:00
network_conf.h Store the range size when adding a DHCP range 2009-11-06 18:07:24 +01:00
node_device_conf.c remove sysfs_path and parent_sysfs_path from XML 2009-11-19 16:05:17 +01:00
node_device_conf.h Removing devicePath member from dev struct 2009-11-19 16:02:18 +01:00
secret_conf.c Move all XML configuration handling to src/conf/ 2009-09-21 14:41:46 +01:00
secret_conf.h Move all XML configuration handling to src/conf/ 2009-09-21 14:41:46 +01:00
storage_conf.c Various error reporting fixes 2009-11-03 16:46:54 -05:00
storage_conf.h storage: Add ParseSourceString function for use with FindPoolSources. 2009-10-28 11:30:40 -04:00
storage_encryption_conf.c storage: conf: Fix memory leak in encryption parsing 2009-11-03 16:46:54 -05:00
storage_encryption_conf.h Move all XML configuration handling to src/conf/ 2009-09-21 14:41:46 +01:00