Re: [libvirt] [PATCH v3 05/13] Make virDomainObjList self-locking via virObjectLockable

2013-02-05 Thread Jiri Denemark
On Tue, Feb 05, 2013 at 14:53:13 +, Daniel P. Berrange wrote: > On Mon, Feb 04, 2013 at 05:22:59PM +0100, Jiri Denemark wrote: > > On Fri, Feb 01, 2013 at 11:18:27 +, Daniel P. Berrange wrote: > > > From: "Daniel P. Berrange" > > > > > > Switch virDomainObjList to inherit from virObjectLo

Re: [libvirt] [PATCH v3 05/13] Make virDomainObjList self-locking via virObjectLockable

2013-02-05 Thread Daniel P. Berrange
On Mon, Feb 04, 2013 at 05:22:59PM +0100, Jiri Denemark wrote: > On Fri, Feb 01, 2013 at 11:18:27 +, Daniel P. Berrange wrote: > > From: "Daniel P. Berrange" > > > > Switch virDomainObjList to inherit from virObjectLockable and > > make all the APIs acquire/release the mutex when running. Thi

Re: [libvirt] [PATCH v3 05/13] Make virDomainObjList self-locking via virObjectLockable

2013-02-04 Thread Jiri Denemark
On Fri, Feb 01, 2013 at 11:18:27 +, Daniel P. Berrange wrote: > From: "Daniel P. Berrange" > > Switch virDomainObjList to inherit from virObjectLockable and > make all the APIs acquire/release the mutex when running. This > makes virDomainObjList completely self-locking and no longer > relian

[libvirt] [PATCH v3 05/13] Make virDomainObjList self-locking via virObjectLockable

2013-02-01 Thread Daniel P. Berrange
From: "Daniel P. Berrange" Switch virDomainObjList to inherit from virObjectLockable and make all the APIs acquire/release the mutex when running. This makes virDomainObjList completely self-locking and no longer reliant on the hypervisor driver locks --- src/conf/domain_conf.c | 75