[libvirt] [PATCH 10/11] Fix busy-wait loop on closed file descriptor

Daniel Veillard veillard at redhat.com
Wed Nov 3 13:51:30 UTC 2010


On Tue, Nov 02, 2010 at 05:49:14PM +0000, Daniel P. Berrange wrote:
> When closing open streams after a client quits, the event
> callback was not removed. This mean that poll() was using
> a closed FD and returning POLLNVAL in a busy-wait loop.
> 
> * daemon/stream.c: Disconnect stream callbacks

  ACK

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/




More information about the libvir-list mailing list