libvirt/daemon
Daniel P. Berrange a6135ec1e6 Introduce a new event emitted when a virtualization failure occurs
This introduces a new domain

  VIR_DOMAIN_EVENT_ID_CONTROL_ERROR

Which uses the existing generic callback

typedef void (*virConnectDomainEventGenericCallback)(virConnectPtr conn,
                                                     virDomainPtr dom,
                                                     void *opaque);

This event is intended to be emitted when there is a failure in
some part of the domain virtualization system. Whether the domain
continues to run/exist after the failure is an implementation
detail specific to the hypervisor.

The idea is that with some types of failure, hypervisors may
prefer to leave the domain running in a "degraded" mode of
operation. For example, if something goes wrong with the QEMU
monitor, it is possible to leave the guest OS running quite
happily. The mgmt app will simply loose the ability todo various
tasks. The mgmt app can then choose how/when to deal with the
failure that occured.
* daemon/remote.c: Dispatch of new event
* examples/domain-events/events-c/event-test.c: Demo catch
  of event
* include/libvirt/libvirt.h.in: Define event ID and callback
* src/conf/domain_event.c, src/conf/domain_event.h: Internal
  event handling
* src/remote/remote_driver.c: Receipt of new event from daemon
* src/remote/remote_protocol.x: Wire protocol for new event
* src/remote_protocol-structs: add new event for checks
2011-05-29 20:21:53 +08:00
..
.gitignore build: don't require pod2man for tarball builds 2011-02-21 09:27:05 -07:00
dispatch.c Remove obsolete remoteDispatchOOMError method 2011-05-16 20:30:10 +01:00
dispatch.h Remove obsolete remoteDispatchOOMError method 2011-05-16 20:30:10 +01:00
libvirtd.aug Basic framework for auditing integration 2010-10-19 17:31:31 +01:00
libvirtd.c Pass graphics setup from dst back to src via migration cookies 2011-05-16 15:18:21 +01:00
libvirtd.conf Allow to dynamically set the size of the debug buffer 2011-03-15 15:13:21 +08:00
libvirtd.h build: drop unused <sys/syslimits.h> header 2011-05-17 09:34:11 -06:00
libvirtd.init.in daemon: Export SDL audio environment variables 2010-05-21 12:48:34 -04:00
libvirtd.logrotate.in Add logrotate support for libvirtd.log 2011-03-04 22:43:55 +08:00
libvirtd.lxc.logrotate.in Change logrotate to be per-hypervisor logs 2010-03-10 11:27:02 +01:00
libvirtd.pod.in docs: removed outdated reference to virt-mem 2010-11-23 01:11:10 +11:00
libvirtd.policy-0 Rename qemud/ directory to daemon/ 2009-09-21 14:41:42 +01:00
libvirtd.policy-1 Rename qemud/ directory to daemon/ 2009-09-21 14:41:42 +01:00
libvirtd.qemu.logrotate.in Change logrotate to be per-hypervisor logs 2010-03-10 11:27:02 +01:00
libvirtd.sasl Rename qemud/ directory to daemon/ 2009-09-21 14:41:42 +01:00
libvirtd.stp Include socket address in client probe data 2010-10-22 12:00:45 +01:00
libvirtd.sysconf daemon: sysconf: Update comment about VNC audio 2010-05-26 10:51:36 -04:00
libvirtd.uml.logrotate.in Change logrotate to be per-hypervisor logs 2010-03-10 11:27:02 +01:00
libvirtd.upstart Experimental libvirtd upstart job 2011-04-18 11:38:30 +02:00
Makefile.am build: generate files when building without libvirtd 2011-05-22 09:36:24 +08:00
mdns.c Move event code out of the daemon/ into src/util/ 2011-03-07 14:16:13 +00:00
mdns.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
probes.d Include socket address in client probe data 2010-10-22 12:00:45 +01:00
remote_generator.pl Fix sign mismatches between public API, driver API and XDR protocol 2011-05-25 19:18:14 +02:00
remote.c Introduce a new event emitted when a virtualization failure occurs 2011-05-29 20:21:53 +08:00
remote.h Ensure remote daemon unions are always non-zero length 2010-09-10 11:14:51 +01:00
stream.c Fix error reporting in stream creation code 2011-05-17 14:54:54 +02:00
stream.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
test_libvirtd.aug qemu: fix augeas support for vnc_auto_unix_socket 2011-01-28 15:28:30 -07:00
THREADING.txt Move libvirtd event loop into background thread 2009-11-03 14:45:43 -05:00