[libvirt] [PATCH] Fix (rare) deadlock in QEMU monitor callbacks

Richard W.M. Jones rjones at redhat.com
Sat Sep 29 21:39:54 UTC 2012


On Sat, Sep 29, 2012 at 08:30:10PM +0100, Richard W.M. Jones wrote:
> On Wed, Sep 26, 2012 at 03:56:52PM +0100, Daniel P. Berrange wrote:
> > From: "Daniel P. Berrange" <berrange at redhat.com>
> > 
> > Some users report (very rarely) seeing a deadlock in the QEMU
> > monitor callbacks
> 
> This is actually not rare.  I hit it again today, twice, and I can
> ~50% reliably reproduce it using the parallel mount-local test in
> libguestfs.
> 
> I have added this patch to my libvirt, and will see how it goes ...

Looks good.  I did ~100 cycles of that one test without any
deadlocks.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/




More information about the libvir-list mailing list