aboutsummaryrefslogtreecommitdiff
path: root/qapi-event.json
diff options
context:
space:
mode:
authorWenchao Xia <wenchaoqemu@gmail.com>2014-06-18 08:43:33 +0200
committerLuiz Capitulino <lcapitulino@redhat.com>2014-06-23 11:01:25 -0400
commit8432183137c4ae91e63e36a683fa0869b3db768e (patch)
treec98ca1bf8752172dda4fd4c8037d8ed36914b9a0 /qapi-event.json
parentf668470f403e83cc4622b1b4e563e2c61fbdfe62 (diff)
qapi event: convert SHUTDOWN
This patch also eliminates build time warning caused by QAPI_EVENT_MAX = 0. Signed-off-by: Wenchao Xia <wenchaoqemu@gmail.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'qapi-event.json')
-rw-r--r--qapi-event.json12
1 files changed, 12 insertions, 0 deletions
diff --git a/qapi-event.json b/qapi-event.json
index e69de29bb2..7a6e6bf7d4 100644
--- a/qapi-event.json
+++ b/qapi-event.json
@@ -0,0 +1,12 @@
+##
+# @SHUTDOWN
+#
+# Emitted when the virtual machine has shutdown, possibly indicating that QEMU
+# is about about to exit.
+#
+# Note: If the command-line option "-no-shutdown" has been specified, qemu will
+# not exit, and a STOP event will eventually follow the SHUTDOWN event
+#
+# Since: 0.12.0
+##
+{ 'event': 'SHUTDOWN' }