From 7a2aae7a364db27924702bd4b284398bdd01240a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Thu, 23 Jun 2016 16:18:09 +0200 Subject: [PATCH] qmp-events: move 'RESET' 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 44840cea6f..c5a165a981 100644 --- a/docs/qmp-events.txt +++ b/docs/qmp-events.txt @@ -166,18 +166,6 @@ Flush operation: Note: this event is rate-limited. -RESET ------ - -Emitted when the Virtual Machine is reset. - -Data: None. - -Example: - -{ "event": "RESET", - "timestamp": { "seconds": 1267041653, "microseconds": 9518 } } - RESUME ------ diff --git a/qapi/event.json b/qapi/event.json index ea3e4ee9e8..da9898dce2 100644 --- a/qapi/event.json +++ b/qapi/event.json @@ -45,6 +45,12 @@ # Emitted when the virtual machine is reset # # Since: 0.12.0 +# +# Example: +# +# <- { "event": "RESET", +# "timestamp": { "seconds": 1267041653, "microseconds": 9518 } } +# ## { 'event': 'RESET' }