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' }