libvirt/src/qemu
Daniel P. Berrange 32e6ac9c26 Add support for an explicit RTC change event
This introduces a new event type

   VIR_DOMAIN_EVENT_ID_RTC_CHANGE

This event includes the new UTC offset measured in seconds.
Thus there is a new callback definition for this event type

 typedef void (*virConnectDomainEventRTCChangeCallback)(virConnectPtr conn,
                                                        virDomainPtr dom,
                                                        long long utcoffset,
                                                        void *opaque);

If the guest XML configuration for the <clock> is set to
offset='variable', then the XML will automatically be
updated with the new UTC offset value. This ensures that
during migration/save/restore the new offset is preserved.

* daemon/remote.c: Dispatch RTC change events to client
* examples/domain-events/events-c/event-test.c: Watch for
  RTC change events
* include/libvirt/libvirt.h.in: Define new RTC change event ID
  and callback signature
* src/conf/domain_event.c, src/conf/domain_event.h,
  src/libvirt_private.syms: Extend API to handle RTC change events
* src/qemu/qemu_driver.c: Connect to the QEMU monitor event
  for RTC changes and emit a libvirt RTC change event
* src/remote/remote_driver.c: Receive and dispatch RTC change
  events to application
* src/remote/remote_protocol.x: Wire protocol definition for
  RTC change events
* src/qemu/qemu_monitor.c, src/qemu/qemu_monitor.h,
  src/qemu/qemu_monitor_json.c: Watch for RTC_CHANGE event
  from QEMU monitor
2010-03-26 13:52:50 +00:00
..
libvirtd_qemu.aug Add configuration option to turn off dynamic permissions management 2010-01-21 14:00:16 +00:00
qemu_bridge_filter.c Remove conn parameter from virReportSystemError 2010-02-09 01:04:54 +01:00
qemu_bridge_filter.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
qemu_conf.c virDomainDiskDefAssignAddress: return int, not void 2010-03-23 11:22:26 +01:00
qemu_conf.h Support vhost-net mode at qemu startup for virtio network devices 2010-03-19 16:58:14 +01:00
qemu_driver.c Add support for an explicit RTC change event 2010-03-26 13:52:50 +00:00
qemu_driver.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
qemu_monitor_json.c Add support for an explicit RTC change event 2010-03-26 13:52:50 +00:00
qemu_monitor_json.h Implement virDomainMigrateSetMaxDowntime in qemu driver 2010-03-19 22:47:45 +01:00
qemu_monitor_text.c Implement virDomainMigrateSetMaxDowntime in qemu driver 2010-03-19 22:47:45 +01:00
qemu_monitor_text.h Implement virDomainMigrateSetMaxDowntime in qemu driver 2010-03-19 22:47:45 +01:00
qemu_monitor.c Add support for an explicit RTC change event 2010-03-26 13:52:50 +00:00
qemu_monitor.h Add support for an explicit RTC change event 2010-03-26 13:52:50 +00:00
qemu_security_dac.c security: Set permissions for kernel/initrd 2010-03-15 12:36:50 -04:00
qemu_security_dac.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
qemu_security_stacked.c Remove use of virConnectPtr from security driver APIs 2010-02-10 11:49:24 +00:00
qemu_security_stacked.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
qemu.conf Add configuration option to turn off dynamic permissions management 2010-01-21 14:00:16 +00:00
test_libvirtd_qemu.aug Add configuration option to turn off dynamic permissions management 2010-01-21 14:00:16 +00:00
THREADS.txt Release driver and domain lock when running monitor commands 2009-11-10 13:27:18 +00:00