Skip to content

Commit

Permalink
docs: document missing POWERDOWN event
Browse files Browse the repository at this point in the history
The POWERDOWN event was first documented in 0aab9ec.  But since
dfab489 later restored this file to the state prior to qmp events,
and we never documented it in the past, anyone using this file
instead of qapi will miss out on this event.  Tweak the existing
wording of SHUTDOWN to match 8432183, and make the difference
between the two events apparent.

* docs/qmp/qmp-events.txt (POWERDOWN): Add.
(SHUTDOWN): Tweak.

Signed-off-by: Eric Blake <[email protected]>
Reviewed-by: Markus Armbruster <[email protected]>
Reviewed-by: Wenchao Xia <[email protected]>
Signed-off-by: Luiz Capitulino <[email protected]>
  • Loading branch information
ebblake authored and Luiz Capitulino committed Jul 24, 2014
1 parent 5e25500 commit db52658
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion docs/qmp/qmp-events.txt
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,19 @@ 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
--------------

Expand Down Expand Up @@ -325,7 +338,8 @@ Example:
SHUTDOWN
--------

Emitted when the Virtual Machine is powered down.
Emitted when the Virtual Machine has shut down, indicating that qemu
is about to exit.

Data: None.

Expand Down

0 comments on commit db52658

Please sign in to comment.