From: Marc-André Lureau Date: Thu, 23 Jun 2016 14:17:22 +0000 (+0200) Subject: qmp-events: move 'POWERDOWN' doc to schema X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=189d43bed6c08855b6a12b889264f09f5af012a7;p=qemu.git qmp-events: move 'POWERDOWN' doc to schema Signed-off-by: Marc-André Lureau Signed-off-by: Markus Armbruster --- 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' }