From: Marc-André Lureau Date: Thu, 23 Jun 2016 14:18:36 +0000 (+0200) Subject: qmp-events: move 'STOP' doc to schema X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=138c454c0f2cdb5145cdd4762d5f6e8b8093da0e;p=qemu.git qmp-events: move 'STOP' 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 c5a165a981..b826641aaf 100644 --- a/docs/qmp-events.txt +++ b/docs/qmp-events.txt @@ -324,18 +324,6 @@ Example: {"timestamp": {"seconds": 1449669631, "microseconds": 239225}, "event": "MIGRATION_PASS", "data": {"pass": 2}} -STOP ----- - -Emitted when the Virtual Machine is stopped. - -Data: None. - -Example: - -{ "event": "STOP", - "timestamp": { "seconds": 1267041730, "microseconds": 281295 } } - SUSPEND ------- diff --git a/qapi/event.json b/qapi/event.json index da9898dce2..eb41d808c1 100644 --- a/qapi/event.json +++ b/qapi/event.json @@ -60,6 +60,12 @@ # Emitted when the virtual machine is stopped # # Since: 0.12.0 +# +# Example: +# +# <- { "event": "STOP", +# "timestamp": { "seconds": 1267041730, "microseconds": 281295 } } +# ## { 'event': 'STOP' }