
29 Jul
2009
29 Jul
'09
4:27 a.m.
On Tue, Jul 28, 2009 at 05:47:57PM +0100, Daniel P. Berrange wrote:
There is a deadlock in the remote driver's dispatch code for domain events. If your callback triggers a API call that does an RPC call, then the driver will deadlock. The fix is the same as we did in the QEMU driver. We releae the lock & re-aquire it, with some extreme cleverness to protect against people deleting callbacks during the course of dispatch
Tricky ! Patch looks fine, ACK Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ daniel@veillard.com | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/