[libvirt] PATCH: Fix missing thread locking for new remote APIs

Daniel Veillard veillard at redhat.com
Tue Mar 3 18:40:28 UTC 2009

On Tue, Mar 03, 2009 at 06:34:29PM +0000, Daniel P. Berrange wrote:
> The remote driver additions for the sVirt APIs pre-date the time when we
> added thread support, and I didn't notice they were mising the lock calls.
> This patch adds the missing lock calls, so 'virsh dominfo' doesn't hang
> anymore due to an unlock without initial lock. It also fixes two return
> values to be -1 rather than -2

  Patch looks fine, ACK,


Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/

More information about the libvir-list mailing list