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 /monitor.c | |
parent | 2d753894c7553d6a05e8fdbed5f4704398919a35 (diff) | |
download | qemu-9eedeb3b88173d84d438557cada237346a764e0b.tar.gz qemu-9eedeb3b88173d84d438557cada237346a764e0b.tar.bz2 qemu-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.c')
-rw-r--r-- | monitor.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -426,6 +426,9 @@ void monitor_protocol_event(MonitorEvent event, QObject *data) case QEVENT_RTC_CHANGE: event_name = "RTC_CHANGE"; break; + case QEVENT_WATCHDOG: + event_name = "WATCHDOG"; + break; default: abort(); break; |