From 12defe50f8c2339fda4c6f9d2c45710e9d31ecda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Thu, 23 Jun 2016 16:11:21 +0200 Subject: [PATCH] qmp-events: move 'SHUTDOWN' doc to schema MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marc-André Lureau Signed-off-by: Markus Armbruster --- docs/qmp-events.txt | 16 ---------------- qapi/event.json | 6 ++++++ 2 files changed, 6 insertions(+), 16 deletions(-) diff --git a/docs/qmp-events.txt b/docs/qmp-events.txt index 7cae0aa899..ab0f58ea9b 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 0cd4b79ad8..6e8fd1a122 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' }