[libvirt] [PATCHv2] netcf driver: use a single netcf handle for all connections
Daniel P. Berrange
berrange at redhat.com
Wed Sep 11 15:58:29 UTC 2013
On Wed, Sep 11, 2013 at 11:06:26AM -0400, Laine Stump wrote:
> +static void
> +interfaceDriverLock(virNetcfDriverStatePtr driver)
> +{
> + virObjectLock(driver);
> +}
> +
> +static void
> +interfaceDriverUnlock(virNetcfDriverStatePtr driver)
> +{
> + virObjectUnlock(driver);
> +}
For everything else we converted to virObjectLockable, we have
killed the lock/unlock wrappers and just called virObjectLock/Unlock
directly. I think it is preferrable todo that here too.
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