[libvirt] [PATCH 7/9] lxc: Make activeUsbHostdevs use locks

Daniel P. Berrange berrange at redhat.com
Thu Jul 18 10:24:56 UTC 2013


On Wed, Jul 17, 2013 at 03:04:24PM +0200, Michal Privoznik wrote:
> The activeUsbHostdevs item in LXCDriver are lockable, but the lock has
> to be called explicitly. Call the virObject(Un)Lock() in order to
> achieve mutual exclusion once lxcDriverLock is removed.
> ---
>  src/lxc/lxc_driver.c  | 2 ++
>  src/lxc/lxc_hostdev.c | 8 ++++++++
>  2 files changed, 10 insertions(+)

ACK


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