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-23 16:07:32 +01:00
2009-05-07 07:34:05 +00:00
2009-08-25 11:59:14 +01:00
2009-09-03 18:04:23 +02:00
2009-08-25 11:59:14 +01:00
2009-08-25 11:59:14 +01:00
2009-07-16 15:06:42 +02:00