aboutsummaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2010-02-25 12:11:44 -0300
committerAnthony Liguori <aliguori@us.ibm.com>2010-03-08 11:30:09 -0600
commit80cd34787fc0fc31b1a341c7b8d8e729c1b6ea58 (patch)
tree87b4d9bb87753831af21d16f6ce011f985fdbd37 /monitor.c
parentd74c7dfd1b63850309d7595b4db2e91b78c1dc05 (diff)
QMP: Introduce RTC_CHANGE event
Emitted whenever the RTC time changes. 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.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/monitor.c b/monitor.c
index 1ef672c10a..f062b92499 100644
--- a/monitor.c
+++ b/monitor.c
@@ -423,6 +423,9 @@ void monitor_protocol_event(MonitorEvent event, QObject *data)
case QEVENT_BLOCK_IO_ERROR:
event_name = "BLOCK_IO_ERROR";
break;
+ case QEVENT_RTC_CHANGE:
+ event_name = "RTC_CHANGE";
+ break;
default:
abort();
break;