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-16 15:06:42 +02:00
2008-08-01 13:31:37 +00:00
2009-07-15 20:16:36 +02:00
2009-07-16 15:06:42 +02:00
2009-07-16 15:06:42 +02:00
2009-06-11 14:17:42 +00:00
2009-09-03 13:53:34 +01:00
2009-09-02 15:19:34 +01:00
2009-07-16 15:06:42 +02:00
2009-09-01 18:27:38 +01:00
2009-07-16 15:06:42 +02:00
2009-07-08 16:17:51 +02:00
2009-09-02 15:19:34 +01:00
2009-07-15 20:16:36 +02:00
2009-01-28 21:53:48 +00:00
2009-01-27 15:29:53 +00:00
2009-06-19 12:34:30 +00:00
2009-02-09 15:31:34 +00:00
2009-03-04 13:04:06 +00:00
2009-01-16 18:06:33 +00:00
2009-01-27 15:29:53 +00:00
2009-09-03 18:06:16 +01:00
2007-11-12 14:07:37 +00:00
2009-07-15 20:16:36 +02:00
2009-07-15 20:16:36 +02:00
2009-03-04 13:04:06 +00:00
2009-03-04 13:04:06 +00:00
2009-07-22 16:24:17 +02:00
2009-01-27 15:29:53 +00:00
2009-01-27 15:29:53 +00:00
2009-06-02 15:12:53 +00:00
2009-07-16 15:06:42 +02:00
2009-07-16 15:06:42 +02:00
2008-05-29 15:21:45 +00:00
2009-08-14 08:31:11 +01:00
2009-09-03 13:53:34 +01:00
2009-09-03 13:53:34 +01:00
2009-09-03 13:51:55 +01:00
2009-02-03 13:08:59 +00:00
2009-01-20 20:23:53 +00:00
2008-07-11 16:41:27 +00:00
2009-07-16 15:06:42 +02:00
2009-04-03 10:55:51 +00:00
2009-08-19 17:44:50 +01:00
2009-01-20 12:03:40 +00:00
2008-08-05 16:38:49 +00:00
2009-01-27 15:29:53 +00:00
2009-01-27 15:29:53 +00:00
2008-04-18 15:28:33 +00:00
2008-04-08 15:33:16 +00:00
2009-09-03 13:14:46 +01:00
2009-05-21 14:22:51 +00:00
2009-07-27 15:17:55 +01:00
2009-07-16 15:06:42 +02:00
2009-07-27 16:45:01 +01:00
2009-07-16 15:06:42 +02:00
2009-02-09 15:31:34 +00:00
2009-01-20 12:03:40 +00:00
2009-01-12 18:23:10 +00:00
2008-11-24 07:13:29 +00:00
2008-11-24 07:11:26 +00:00
2009-07-16 15:06:42 +02:00
2009-07-16 15:06:42 +02:00
2009-07-16 15:06:42 +02:00