diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-06-23 16:11:21 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2017-01-16 09:19:48 +0100 |
commit | 12defe50f8c2339fda4c6f9d2c45710e9d31ecda (patch) | |
tree | 7d3037b5afedf666ef393a929c2fd3e8a34d0284 | |
parent | 01b7d4be5c5408365487851f3b8b1e6f10dfaa4b (diff) |
qmp-events: move 'SHUTDOWN' doc to schema
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
-rw-r--r-- | docs/qmp-events.txt | 16 | ||||
-rw-r--r-- | 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' } |