libvirt/examples/domain-events/events-c
Osier Yang 487c063381 Add support for the suspend event
This patch introduces a new event type for the QMP event
SUSPEND:

    VIR_DOMAIN_EVENT_ID_PMSUSPEND

The event doesn't take any data, but considering there might
be reason for wakeup in future, the callback definition is:

typedef void
(*virConnectDomainEventSuspendCallback)(virConnectPtr conn,
                                        virDomainPtr dom,
                                        int reason,
                                        void *opaque);

"reason" is unused currently, always passes "0".
2012-03-23 23:12:18 +08:00
..
event-test.c Add support for the suspend event 2012-03-23 23:12:18 +08:00
Makefile.am maint: add missing copyright notices 2011-07-28 15:01:17 -06:00