diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2012-02-23 13:45:26 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2012-02-24 13:36:04 -0600 |
commit | 53370b78ecfe3fdff89a8dd7db73a0a95aefc14f (patch) | |
tree | 57cfb4774c9903c47b9c3b0a3a129b63ce6dbaa3 /monitor.h | |
parent | 6595abc04486ef9694b8717b8eea43ccb990bff9 (diff) |
suspend: add qmp events
Send qmp events on suspend and wakeup so libvirt
has a chance to track the vm state.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'monitor.h')
-rw-r--r-- | monitor.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -39,6 +39,8 @@ typedef enum MonitorEvent { QEVENT_BLOCK_JOB_COMPLETED, QEVENT_BLOCK_JOB_CANCELLED, QEVENT_DEVICE_TRAY_MOVED, + QEVENT_SUSPEND, + QEVENT_WAKEUP, QEVENT_MAX, } MonitorEvent; |