From e010ad8f1e14def33117576916a954d7a3778458 Mon Sep 17 00:00:00 2001 From: Wenchao Xia Date: Wed, 18 Jun 2014 08:43:41 +0200 Subject: qapi event: convert RTC_CHANGE This patch also eliminates build time warning caused by no caller of monitor_qapi_event_throttle(). Signed-off-by: Wenchao Xia Signed-off-by: Paolo Bonzini Reviewed-by: Eric Blake Signed-off-by: Luiz Capitulino --- vl.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'vl.c') diff --git a/vl.c b/vl.c index 4a14681f7c..68380d7ff1 100644 --- a/vl.c +++ b/vl.c @@ -788,15 +788,6 @@ int qemu_timedate_diff(struct tm *tm) return seconds - time(NULL); } -void rtc_change_mon_event(struct tm *tm) -{ - QObject *data; - - data = qobject_from_jsonf("{ 'offset': %d }", qemu_timedate_diff(tm)); - monitor_protocol_event(QEVENT_RTC_CHANGE, data); - qobject_decref(data); -} - static void configure_rtc_date_offset(const char *startdate, int legacy) { time_t rtc_start_date; -- cgit v1.2.3