aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2010-02-25 12:13:04 -0300
committerAnthony Liguori <aliguori@us.ibm.com>2010-03-09 08:47:27 -0600
commit9eedeb3b88173d84d438557cada237346a764e0b (patch)
treef5f276c6cc5e8196da7090256da72661e3fb85e0 /monitor.h
parentRestore terminal attributes for tty based monitor (diff)
downloadqemu-kvm-9eedeb3b88173d84d438557cada237346a764e0b.tar.gz
qemu-kvm-9eedeb3b88173d84d438557cada237346a764e0b.tar.bz2
qemu-kvm-9eedeb3b88173d84d438557cada237346a764e0b.zip
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 'monitor.h')
-rw-r--r--monitor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/monitor.h b/monitor.h
index aa51bd5a0..e5f2d2ba7 100644
--- a/monitor.h
+++ b/monitor.h
@@ -24,6 +24,7 @@ typedef enum MonitorEvent {
QEVENT_VNC_DISCONNECTED,
QEVENT_BLOCK_IO_ERROR,
QEVENT_RTC_CHANGE,
+ QEVENT_WATCHDOG,
QEVENT_MAX,
} MonitorEvent;