libvirt/src/xen
Daniel P. Berrange 34ad13536e Hide use of timers for domain event dispatch
Currently all drivers using domain events need to provide a callback
for handling a timer to dispatch events in a clean stack. There is
no technical reason for dispatch to go via driver specific code. It
could trivially be dispatched directly from the domain event code,
thus removing tedious boilerplate code from all drivers

Also fix the libxl & xen drivers to pass 'true' when creating the
virDomainEventState, since they run inside the daemon & thus always
expect events to be present.

* src/conf/domain_event.c, src/conf/domain_event.h: Internalize
  dispatch of events from timer callback
* src/libxl/libxl_driver.c, src/lxc/lxc_driver.c,
  src/qemu/qemu_domain.c, src/qemu/qemu_driver.c,
  src/remote/remote_driver.c, src/test/test_driver.c,
  src/uml/uml_driver.c, src/vbox/vbox_tmpl.c,
  src/xen/xen_driver.c: Remove all timer dispatch functions
2011-12-19 11:08:24 +00:00
..
block_stats.c build: rename files.h to virfile.h 2011-07-21 10:34:51 -06:00
block_stats.h Remove virConnectPtr from virRaiseErrorFull 2011-04-17 07:22:23 +02:00
xen_driver.c Hide use of timers for domain event dispatch 2011-12-19 11:08:24 +00:00
xen_driver.h Convert Xen & VBox drivers to use virDomainEventState 2011-12-19 11:08:09 +00:00
xen_hypervisor.c maint: fix improper use of 'an' 2011-12-03 17:11:56 -07:00
xen_hypervisor.h Xen: Fake versions in xencapstest 2011-10-14 09:42:38 -06:00
xen_inotify.c xen: drop unused callbacks 2011-07-28 14:57:55 -06:00
xen_inotify.h drivers: prefer unsigned int for flags 2011-07-07 14:15:37 -06:00
xend_internal.c maint: fix improper use of 'an' 2011-12-03 17:11:56 -07:00
xend_internal.h xen: make direct call when there is only one subdriver 2011-07-28 14:44:45 -06:00
xm_internal.c maint: typo fixes 2011-12-01 16:08:34 -07:00
xm_internal.h xen: reject unknown flags 2011-07-15 16:34:44 -06:00
xs_internal.c maint: fix improper use of 'an' 2011-12-03 17:11:56 -07:00
xs_internal.h drivers: prefer unsigned int for flags 2011-07-07 14:15:37 -06:00