aboutsummaryrefslogtreecommitdiff
path: root/monitor.h
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2010-04-27 20:35:59 -0300
committerAnthony Liguori <aliguori@us.ibm.com>2010-05-03 12:39:12 -0500
commit6ed2c484f261fd8bd217f855b9e5e5f981e63f0a (patch)
treee95efe58f55934530619e1ff4a7941d54fa3981a /monitor.h
parent3d54abc7b7f234685ea48bdd1743ed631cf02ba0 (diff)
downloadqemu-6ed2c484f261fd8bd217f855b9e5e5f981e63f0a.zip
qemu-6ed2c484f261fd8bd217f855b9e5e5f981e63f0a.tar.gz
qemu-6ed2c484f261fd8bd217f855b9e5e5f981e63f0a.tar.bz2
QMP: Introduce RESUME event
It's emitted when the Virtual Machine resumes execution. We currently have the STOP event but don't have the matching RESUME one, this means that clients are notified when the VM is stopped but don't get anything when it resumes. Let's fix that as it's already causing some trouble to libvirt. Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'monitor.h')
-rw-r--r--monitor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/monitor.h b/monitor.h
index 5bdeed1..ea15469 100644
--- a/monitor.h
+++ b/monitor.h
@@ -21,6 +21,7 @@ typedef enum MonitorEvent {
QEVENT_RESET,
QEVENT_POWERDOWN,
QEVENT_STOP,
+ QEVENT_RESUME,
QEVENT_VNC_CONNECTED,
QEVENT_VNC_INITIALIZED,
QEVENT_VNC_DISCONNECTED,