diff options
author | Eric Blake <eblake@redhat.com> | 2014-07-23 06:26:17 -0600 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2014-07-24 10:00:33 -0400 |
commit | db52658b38fea4e54c23c9cfbced9478d368aa84 (patch) | |
tree | 9b3ab33fe0a01a572b50d73673681296d483377d /docs/qmp | |
parent | 5e255004f57294cddb7adc9f862747713589949e (diff) | |
download | qemu-db52658b38fea4e54c23c9cfbced9478d368aa84.zip qemu-db52658b38fea4e54c23c9cfbced9478d368aa84.tar.gz qemu-db52658b38fea4e54c23c9cfbced9478d368aa84.tar.bz2 |
docs: document missing POWERDOWN event
The POWERDOWN event was first documented in 0aab9ec3. But since
dfab4892 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 84321831, and make the difference
between the two events apparent.
* docs/qmp/qmp-events.txt (POWERDOWN): Add.
(SHUTDOWN): Tweak.
Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Wenchao Xia <wenchaoqemu@gmail.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'docs/qmp')
-rw-r--r-- | docs/qmp/qmp-events.txt | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/docs/qmp/qmp-events.txt b/docs/qmp/qmp-events.txt index 22d552f..9d7439e 100644 --- a/docs/qmp/qmp-events.txt +++ b/docs/qmp/qmp-events.txt @@ -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 -------------- @@ -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. |