From: Marc-André Lureau Date: Thu, 23 Jun 2016 14:11:21 +0000 (+0200) Subject: qmp-events: move 'SHUTDOWN' doc to schema X-Git-Tag: v2.9.0-rc0~148^2~35 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=12defe50f8c2339fda4c6f9d2c45710e9d31ecda;p=thirdparty%2Fqemu.git qmp-events: move 'SHUTDOWN' doc to schema Signed-off-by: Marc-André Lureau Signed-off-by: Markus Armbruster --- diff --git a/docs/qmp-events.txt b/docs/qmp-events.txt index 7cae0aa899c..ab0f58ea9bc 100644 --- a/docs/qmp-events.txt +++ b/docs/qmp-events.txt @@ -221,22 +221,6 @@ Example: Note: this event is rate-limited. -SHUTDOWN --------- - -Emitted when the Virtual Machine has shut down, indicating that qemu -is about to exit. - -Data: None. - -Example: - -{ "event": "SHUTDOWN", - "timestamp": { "seconds": 1267040730, "microseconds": 682951 } } - -Note: If the command-line option "-no-shutdown" has been specified, a STOP -event will eventually follow the SHUTDOWN event. - SPICE_CONNECTED --------------- diff --git a/qapi/event.json b/qapi/event.json index 0cd4b79ad8d..6e8fd1a1225 100644 --- a/qapi/event.json +++ b/qapi/event.json @@ -14,6 +14,12 @@ # not exit, and a STOP event will eventually follow the SHUTDOWN event # # Since: 0.12.0 +# +# Example: +# +# <- { "event": "SHUTDOWN", +# "timestamp": { "seconds": 1267040730, "microseconds": 682951 } } +# ## { 'event': 'SHUTDOWN' }