summaryrefslogtreecommitdiff
path: root/monitor.h
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2009-11-26 22:59:04 -0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-12-03 09:41:24 -0600
commitb1a15e7eaafba8f26e2263b1a9b6e6d40e585e72 (patch)
treefea507ef8ad2dfe16ade7f1d6fa9a0fb0c76b225 /monitor.h
parent0d1ea871b09fc74b4a2085150980b43bd1973744 (diff)
downloadqemu-b1a15e7eaafba8f26e2263b1a9b6e6d40e585e72.tar.gz
qemu-b1a15e7eaafba8f26e2263b1a9b6e6d40e585e72.tar.bz2
qemu-b1a15e7eaafba8f26e2263b1a9b6e6d40e585e72.zip
QMP: Introduce basic asynchronous events
Debug, shutdown, reset, powerdown and stop are all basic events, as they are very simple they can be added in the same commit. 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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/monitor.h b/monitor.h
index a1d8b7a5f0..851fd33666 100644
--- a/monitor.h
+++ b/monitor.h
@@ -15,6 +15,11 @@ extern Monitor *cur_mon;
/* QMP events */
typedef enum MonitorEvent {
+ EVENT_DEBUG,
+ EVENT_SHUTDOWN,
+ EVENT_RESET,
+ EVENT_POWERDOWN,
+ EVENT_STOP,
EVENT_MAX,
} MonitorEvent;