From 9eedeb3b88173d84d438557cada237346a764e0b Mon Sep 17 00:00:00 2001 From: Luiz Capitulino Date: Thu, 25 Feb 2010 12:13:04 -0300 Subject: 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 Signed-off-by: Anthony Liguori --- QMP/qmp-events.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'QMP/qmp-events.txt') diff --git a/QMP/qmp-events.txt b/QMP/qmp-events.txt index 72920f6dfb..a94e9b464f 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. -- cgit v1.2.3