Re: [libvirt] [PATCH v3 10/13] Convert virPCIDeviceList and virUSBDeviceList into virObjectLockable

2013-02-04 Thread Jiri Denemark
On Fri, Feb 01, 2013 at 11:18:32 +, Daniel P. Berrange wrote: > From: "Daniel P. Berrange" > > To allow modifications to the lists to be synchronized, convert > virPCIDeviceList and virUSBDeviceList into virObjectLockable > classes. The locking, however, will not be self-contained. The > user

[libvirt] [PATCH v3 10/13] Convert virPCIDeviceList and virUSBDeviceList into virObjectLockable

2013-02-01 Thread Daniel P. Berrange
From: "Daniel P. Berrange" To allow modifications to the lists to be synchronized, convert virPCIDeviceList and virUSBDeviceList into virObjectLockable classes. The locking, however, will not be self-contained. The users of these classes will have to call virObjectLock/Unlock in the critical regi