libvirt/qemud
Daniel P. Berrange af4dad0fa2 Change the way client event loop watches are managed
The current qemudRegisterClientEvent() code is used both for
registering the initial socket watch, and updating the already
registered watch. This causes unneccessary complexity in alot
of code which only cares about updating existing watches. The
updating of a watch cannot ever fail, nor is a reference to the
'qemud_server' object required.

This introduces a new qemudUpdateClientEvent() method for that
case, allowing the elimination of unneccessary error checking
and removal of the server back-reference in struct qemud_client.

* qemud/qemud.h: Remove 'server' field from struct qemud_client.
  Add qemudUpdateClientEvent() method. Remove 'update' param
  from qemudRegisterClientEvent method
* qemud/dispatch.c, qemud/qemud.c, qemud/remote.c: Update alot
  of code to use qemudUpdateClientEvent() instead of
  qemudRegisterClientEvent(). Move more logic from remoteRelayDomainEvent
  into remoteDispatchDomainEventSend.
2009-07-16 16:09:47 +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 Change the way client event loop watches are managed 2009-07-16 16:09:47 +01:00
dispatch.h Separate code for encoding outgoing remote message headers 2009-07-16 16:09:47 +01:00
event.c Fix watch/timer event deletion 2009-05-12 16:43:04 +00:00
event.h Make event loop thread safe & re-entrant safe 2008-12-04 22:14:15 +00:00
libvirtd_qemu.aug remove all trailing blank lines 2009-07-16 15:06:42 +02: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 Default to admin auth for polkit. Rename policy file 2008-07-11 09:51:25 +00: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 Split generic RPC message dispatch code out from remote protocol API handlers 2009-07-16 16:09:41 +01:00
mdns.c don't print uninitialized in debug diagnostic 2009-02-09 15:38:06 +00: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 Change the way client event loop watches are managed 2009-07-16 16:09:47 +01:00
qemud.h Change the way client event loop watches are managed 2009-07-16 16:09:47 +01:00
remote_dispatch_args.h Remote protocol support for domain XML conversion APIs 2009-05-21 13:50:56 +00:00
remote_dispatch_prototypes.h Change code generator to give async event messages their own postfix 2009-07-16 16:09:47 +01:00
remote_dispatch_ret.h Change code generator to give async event messages their own postfix 2009-07-16 16:09:47 +01:00
remote_dispatch_table.h Change code generator to give async event messages their own postfix 2009-07-16 16:09:47 +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 Change code generator to give async event messages their own postfix 2009-07-16 16:09:47 +01:00
remote_protocol.h Change code generator to give async event messages their own postfix 2009-07-16 16:09:47 +01:00
remote_protocol.x Change code generator to give async event messages their own postfix 2009-07-16 16:09:47 +01:00
remote.c Change the way client event loop watches are managed 2009-07-16 16:09:47 +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 SASL auth for VNC server. 2009-03-16 13:54:26 +00: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