Daniel P. Berrange 34d22c1ed5 Avoid polling on FDs with no events enabled
If a file descriptor with events=0 was added to the libvirtd
event loop, it would still be added to the poll() fds' array.
While it wouldn't see any POLLIN/OUT events, it'd still get
triggered for HANGUP/ERROR events which was not in compliance
with the libvirt events API contract.

* qemud/event.c: Don't poll on FDs with events=0
* tests/eventtest.c: Add test case to validate fix to event.c
2009-09-03 18:06:16 +01:00
..
2009-07-16 15:06:42 +02:00
2009-07-08 16:17:51 +02:00
2007-11-12 14:07:37 +00:00
2009-07-16 15:06:42 +02:00
2009-07-16 15:06:42 +02:00
2009-09-03 13:14:46 +01:00
2009-07-16 15:06:42 +02:00
2009-01-12 18:23:10 +00:00
2008-11-24 07:13:29 +00:00
2009-07-16 15:06:42 +02:00
2009-07-16 15:06:42 +02:00