diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-06-23 16:22:38 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2017-01-16 09:19:49 +0100 |
commit | 6f3cc5406b4c3383d017cb3540160eb49e659abb (patch) | |
tree | 915a61a9b9c759b0f780f8d5f7d3a2dc90b3ca22 | |
parent | a2235a0499c799552a4ea330350acc0d71217f9f (diff) |
qmp-events: move 'SUSPEND' 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 27f9e59ef5..2e3a22aabb 100644 --- a/docs/qmp-events.txt +++ b/docs/qmp-events.txt @@ -312,18 +312,6 @@ Example: {"timestamp": {"seconds": 1449669631, "microseconds": 239225}, "event": "MIGRATION_PASS", "data": {"pass": 2}} -SUSPEND -------- - -Emitted when guest enters S3 state. - -Data: None. - -Example: - -{ "event": "SUSPEND", - "timestamp": { "seconds": 1344456160, "microseconds": 309119 } } - SUSPEND_DISK ------------ diff --git a/qapi/event.json b/qapi/event.json index 215bb8076c..34e046769e 100644 --- a/qapi/event.json +++ b/qapi/event.json @@ -91,6 +91,12 @@ # which is sometimes called standby state # # Since: 1.1 +# +# Example: +# +# <- { "event": "SUSPEND", +# "timestamp": { "seconds": 1344456160, "microseconds": 309119 } } +# ## { 'event': 'SUSPEND' } |