[libvirt] [PATCH] Fix 'virsh pool-list' locking issue

Daniel Veillard veillard at redhat.com
Wed Dec 10 12:07:47 UTC 2008


On Wed, Dec 10, 2008 at 11:23:35AM +0000, Daniel P. Berrange wrote:
> On Wed, Dec 10, 2008 at 08:38:15AM +0100, Daniel Veillard wrote:
> > On Tue, Dec 09, 2008 at 01:50:37PM -0500, Cole Robinson wrote:
> > > Running 'virsh pool-list' seems to deadlock libvirtd. Dan gave me some
> > > debugging tips, and I managed to track it down to the poolGetAutostart
> > > function. The attached patch fixes the issue.
> > 
> >   Argh, +1
> > I wonder why the CIL static analysis didn't point this out... this
> > doesn't look really different from other lockings.
> 
> It did catch it. Unfortunately when I finally applied the patchs there
> was a merge conflict and i missed out this chunk, and then didn't run
> the CIL analysis again :-(
> 
> Its on my todo list to get it integrated into 'make check'....

  Ouch, that's a bunch of dependancies ! And maybe I should make
some progresses in that Ocaml tutorial I have open for 10 days now ...

Daniel

-- 
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