diff options
author | Wenchao Xia <wenchaoqemu@gmail.com> | 2014-06-18 08:43:41 +0200 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2014-06-23 11:12:27 -0400 |
commit | e010ad8f1e14def33117576916a954d7a3778458 (patch) | |
tree | ca61b833134a38ba5896fd983eef9fc527a3f951 /vl.c | |
parent | 7a906f7ffb467576507956fe455dd1f55f6ba4ff (diff) | |
download | qemu-e010ad8f1e14def33117576916a954d7a3778458.zip |
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 <wenchaoqemu@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'vl.c')
-rw-r--r-- | vl.c | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -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; |