Re: [libvirt] [PATCH 7/7] Fix busy-wait loop on closed file descriptor

2010-08-19 Thread Eric Blake
On 08/17/2010 11:02 AM, 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 --- daemon/stream.c

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

2010-08-17 Thread Daniel P. Berrange
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 --- daemon/stream.c |7 ++- 1 files changed, 6 insertions(+), 1