From 6f3cc5406b4c3383d017cb3540160eb49e659abb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Thu, 23 Jun 2016 16:22:38 +0200 Subject: [PATCH] qmp-events: move 'SUSPEND' doc to schema MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marc-André Lureau Signed-off-by: Markus Armbruster --- docs/qmp-events.txt | 12 ------------ 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' }