Re: [libvirt] PATCH: Fix remote domain events deadlock

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]