diff options
author | Osier Yang <jyang@redhat.com> | 2012-03-23 22:50:36 +0800 |
---|---|---|
committer | Osier Yang <jyang@redhat.com> | 2012-03-23 23:12:18 +0800 |
commit | dc2f75d35a6461c896a738d092dc973067d0dbd4 (patch) | |
tree | ae086163d4e9b9847ba170aab173ea50bcc61a4b /generator.py | |
parent | 29b16a45d77586672631537bfe877455fa5527ac (diff) | |
download | libvirt-python-split-dc2f75d35a6461c896a738d092dc973067d0dbd4.tar.gz libvirt-python-split-dc2f75d35a6461c896a738d092dc973067d0dbd4.tar.xz libvirt-python-split-dc2f75d35a6461c896a738d092dc973067d0dbd4.zip |
Add support for the suspend eventv0.9.11-rc1
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".
Diffstat (limited to 'generator.py')
0 files changed, 0 insertions, 0 deletions