Re: [libvirt] [PATCH v3 11/13] Protect USB/PCI device list access in QEMU with dedicated locks

2013-02-05 Thread Jiri Denemark
On Fri, Feb 01, 2013 at 11:18:33 +, Daniel P. Berrange wrote: > From: "Daniel P. Berrange" > > Currently the activePciHostdevs, inactivePciHostdevsd and > activeUsbHostdevs lists are all implicitly protected by the > QEMU driver lock. Now that the lists all inherit from the > virObjectLockabl

[libvirt] [PATCH v3 11/13] Protect USB/PCI device list access in QEMU with dedicated locks

2013-02-01 Thread Daniel P. Berrange
From: "Daniel P. Berrange" Currently the activePciHostdevs, inactivePciHostdevsd and activeUsbHostdevs lists are all implicitly protected by the QEMU driver lock. Now that the lists all inherit from the virObjectLockable, we can make the locking explicit, removing the dependency on the QEMU drive