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' }