Re: [libvirt] [PATCH 09/15] Add reference counting on virDomainObjPtr objects

2009-11-04 Thread Daniel Veillard
On Tue, Nov 03, 2009 at 02:50:03PM -0500, Daniel P. Berrange wrote: 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

[libvirt] [PATCH 09/15] Add reference counting on virDomainObjPtr objects

2009-11-03 Thread Daniel P. Berrange
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