From 53370b78ecfe3fdff89a8dd7db73a0a95aefc14f Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Thu, 23 Feb 2012 13:45:26 +0100 Subject: 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 Signed-off-by: Anthony Liguori --- monitor.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'monitor.h') diff --git a/monitor.h b/monitor.h index b6f700fde9..0d498006f8 100644 --- a/monitor.h +++ b/monitor.h @@ -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; -- cgit v1.2.3