From 189d43bed6c08855b6a12b889264f09f5af012a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Thu, 23 Jun 2016 16:17:22 +0200 Subject: [PATCH] qmp-events: move 'POWERDOWN' 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 | 13 ------------- qapi/event.json | 6 ++++++ 2 files changed, 6 insertions(+), 13 deletions(-) diff --git a/docs/qmp-events.txt b/docs/qmp-events.txt index ab0f58ea9b..44840cea6f 100644 --- a/docs/qmp-events.txt +++ b/docs/qmp-events.txt @@ -114,19 +114,6 @@ Data: "timestamp": { "seconds": 1368697518, "microseconds": 326866 } } } -POWERDOWN ---------- - -Emitted when the Virtual Machine is powered down through the power -control system, such as via ACPI. - -Data: None. - -Example: - -{ "event": "POWERDOWN", - "timestamp": { "seconds": 1267040730, "microseconds": 682951 } } - QUORUM_FAILURE -------------- diff --git a/qapi/event.json b/qapi/event.json index 6e8fd1a122..ea3e4ee9e8 100644 --- a/qapi/event.json +++ b/qapi/event.json @@ -30,6 +30,12 @@ # system, such as via ACPI. # # Since: 0.12.0 +# +# Example: +# +# <- { "event": "POWERDOWN", +# "timestamp": { "seconds": 1267040730, "microseconds": 682951 } } +# ## { 'event': 'POWERDOWN' }