diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-06-23 16:18:36 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2017-01-16 09:19:48 +0100 |
commit | 138c454c0f2cdb5145cdd4762d5f6e8b8093da0e (patch) | |
tree | 7e22c88d12817dbb9ad9740bc87016d2ec2f6580 | |
parent | 7a2aae7a364db27924702bd4b284398bdd01240a (diff) |
qmp-events: move 'STOP' 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 | 12 | ||||
-rw-r--r-- | qapi/event.json | 6 |
2 files changed, 6 insertions, 12 deletions
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' } |