[libvirt] [PATCH] Fix a possible deadlock in HAL nodedev driver.

Daniel P. Berrange berrange at redhat.com
Mon May 18 19:12:17 UTC 2009


On Mon, May 18, 2009 at 01:57:51PM -0400, Cole Robinson wrote:
> The cap_lost and prop_modified callbacks could deadlock if an existing
> device needed to be refreshed, since dev_create expects the driver to
> be unlocked.

ACK, tricky one !  The functions triggered from event loop callbacks
are ones not currently checkable from the CIL locking test case I
wrote. Need to figure out how to check those.

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list