libvirt/qemud
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
..
.gitignore ignore generated libvirtd.logrotate. 2009-01-07 17:09:06 +00:00
default-network.xml Improve support for virtual networking 2007-03-13 22:43:22 +00:00
dispatch.c Rename 'direction' to 'type' in remote_message_header 2009-07-16 16:09:48 +01:00
dispatch.h Fix misc Win32 compile warnings 2009-07-23 16:07:32 +01:00
event.c Avoid polling on FDs with no events enabled 2009-09-03 18:06:16 +01:00
event.h Make event loop thread safe & re-entrant safe 2008-12-04 22:14:15 +00:00
libvirtd_qemu.aug Support configuration of huge pages in guests 2009-09-03 13:51:55 +01:00
libvirtd.aug libvirtd: new config-file option: unix_sock_dir 2009-02-09 17:52:38 +00:00
libvirtd.conf Various logging cleanups in code and doc 2009-07-01 11:21:15 +00:00
libvirtd.init.in Improve init.d file headers 2009-05-07 07:34:05 +00:00
libvirtd.logrotate.in logrotate qemu monitor logs 2008-12-09 20:22:39 +00:00
libvirtd.policy-0 Support new PolicyKit 1.0 API 2009-08-25 11:59:14 +01:00
libvirtd.policy-1 Support new PolicyKit 1.0 API 2009-08-25 11:59:14 +01:00
libvirtd.sasl Remove all trailing blanks; turn on the rule to detect them. 2008-02-05 19:27:37 +00:00
libvirtd.sysconf Initial integration of SASL authentication, working for Kerberos only 2007-12-05 15:24:15 +00:00
Makefile.am Support new PolicyKit 1.0 API 2009-08-25 11:59:14 +01:00
mdns.c mdns.c: remove dead initialization 2009-09-03 18:04:23 +02:00
mdns.h * NEWS virsh.1 docs//* include/libvirt/libvirt.h[.in] qemud/mdns.h 2008-03-17 10:27:31 +00:00
qemud.c Support new PolicyKit 1.0 API 2009-08-25 11:59:14 +01:00
qemud.h Support new PolicyKit 1.0 API 2009-08-25 11:59:14 +01:00
remote_dispatch_args.h Secret manipulation libvirtd wire protocol & remote dispatcher 2009-09-01 17:39:19 +01:00
remote_dispatch_prototypes.h Secret manipulation libvirtd wire protocol & remote dispatcher 2009-09-01 17:39:19 +01:00
remote_dispatch_ret.h Secret manipulation libvirtd wire protocol & remote dispatcher 2009-09-01 17:39:19 +01:00
remote_dispatch_table.h Secret manipulation libvirtd wire protocol & remote dispatcher 2009-09-01 17:39:19 +01:00
remote_generate_stubs.pl Change code generator to give async event messages their own postfix 2009-07-16 16:09:47 +01:00
remote_protocol.c Secret manipulation libvirtd wire protocol & remote dispatcher 2009-09-01 17:39:19 +01:00
remote_protocol.h Secret manipulation libvirtd wire protocol & remote dispatcher 2009-09-01 17:39:19 +01:00
remote_protocol.x Secret manipulation libvirtd wire protocol & remote dispatcher 2009-09-01 17:39:19 +01:00
remote.c Secret manipulation libvirtd wire protocol & remote dispatcher 2009-09-01 17:39:19 +01:00
remote.h Split generic RPC message dispatch code out from remote protocol API handlers 2009-07-16 16:09:41 +01:00
rpcgen_fix.pl Solaris portability for RPC code data types 2009-01-28 21:33:56 +00:00
test_libvirtd_qemu.aug Support configuration of huge pages in guests 2009-09-03 13:51:55 +01:00
test_libvirtd.aug Support VNC password setting in QEMU driver 2009-01-29 17:50:00 +00:00
THREADING.txt remove all trailing blank lines 2009-07-16 15:06:42 +02:00