diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2010-02-25 12:13:04 -0300 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-03-09 08:47:27 -0600 |
commit | 9eedeb3b88173d84d438557cada237346a764e0b (patch) | |
tree | f5f276c6cc5e8196da7090256da72661e3fb85e0 /QMP | |
parent | 2d753894c7553d6a05e8fdbed5f4704398919a35 (diff) | |
download | qemu-9eedeb3b88173d84d438557cada237346a764e0b.zip qemu-9eedeb3b88173d84d438557cada237346a764e0b.tar.gz qemu-9eedeb3b88173d84d438557cada237346a764e0b.tar.bz2 |
QMP: Introduce WATCHDOG event
It's emitted whenever the watchdog device's timer expires. The action
taken is provided in the 'data' member.
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'QMP')
-rw-r--r-- | QMP/qmp-events.txt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/QMP/qmp-events.txt b/QMP/qmp-events.txt index 72920f6..a94e9b4 100644 --- a/QMP/qmp-events.txt +++ b/QMP/qmp-events.txt @@ -169,3 +169,22 @@ Example: "client": { "family": "ipv4", "service": "46089", "host": "127.0.0.1", "sasl_username": "luiz" } }, "timestamp": { "seconds": 1263475302, "microseconds": 150772 } } + +WATCHDOG +-------- + +Emitted when the watchdog device's timer is expired. + +Data: + +- "action": Action that has been taken, it's one of the following (json-string): + "reset", "shutdown", "poweroff", "pause", "debug", or "none" + +Example: + +{ "event": "WATCHDOG", + "data": { "action": "reset" }, + "timestamp": { "seconds": 1267061043, "microseconds": 959568 } } + +Note: If action is "reset", "shutdown", or "pause" the WATCHDOG event is +followed respectively by the RESET, SHUTDOWN, or STOP events. |