[libvirt] [PATCH 00/13] More refactoring of QEMU driver objects & locking

Daniel P. Berrange berrange at redhat.com
Wed Jan 16 14:08:25 UTC 2013


On Wed, Jan 16, 2013 at 02:06:11PM +0000, Daniel P. Berrange wrote:
> This series does more general refactoring to help in the goal of killing
> the big QEMU driver lock. There are 3 key changes in this series
> 
>  - Isolating all QEMU configuration parameters in one struct.
>  - Making virDomainObjList self-locking
>  - Add dedicated locking to PCI/USB device lists
> 
> There are all the really hard bits of the QEMU locking. As can be seen
> from the last patch there is still more work to be done before the QEMU
> driver lock can be said to be truely dead, but this is less critical.

Oh and the motivation for doing this work now is that it is a pre-requisite
to the role based access control patches. I realized that those patches
would have required holding the QEMU driver lock in many more places making
concurrency much worse.


Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list