[libvirt] [PATCH v2 0/4] Fix deadlock in nwfilter code

Stefan Berger stefanb at linux.vnet.ibm.com
Mon Jan 27 20:23:29 UTC 2014


On 01/27/2014 12:18 PM, Daniel P. Berrange wrote:
> Since we introduced fine grained locking into the QEMU driver so
> that VM start can run in parallel, we appear to have caused a
> race with the nwfilter code. In particular since we no longer
> hold the global QEMU driver lock for the duration of VM startup
> we have a lock ordering flaw. This results in deadlock when
> nwfilter operations happen in parallel with VM startup. This
> also affects the LXC driver.
>
> This patch series attempts to address the problem
>
>    https://bugzilla.redhat.com/show_bug.cgi?id=929412
>
> the removal of the windows thread impl isn't strictly required,
> I just didn't want to waste time creating a read/write lock impl
> for Windows threads.
>
> See also this callgraph
>
>    http://berrange.fedorapeople.org/nwfilter.ps

What tool do you use to render this? Ghostview only shows me part of the 
content.

    Stefan




More information about the libvir-list mailing list