aboutsummaryrefslogtreecommitdiff
path: root/util/main-loop.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2017-03-03 11:50:29 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2017-03-14 13:28:29 +0100
commit3f53bc61a404cd1d13fdba8441282a33a755f8c6 (patch)
treeeb99182fd28668a99973411d87f6b0727096400b /util/main-loop.c
parentd2528bdc19988db73056be75dd9bf52eeee620f5 (diff)
downloadqemu-3f53bc61a404cd1d13fdba8441282a33a755f8c6.zip
qemu-3f53bc61a404cd1d13fdba8441282a33a755f8c6.tar.gz
qemu-3f53bc61a404cd1d13fdba8441282a33a755f8c6.tar.bz2
cpus: define QEMUTimerListNotifyCB for QEMU system emulation
There is no change for now, because the callback just invokes qemu_notify_event. Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'util/main-loop.c')
-rw-r--r--util/main-loop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/main-loop.c b/util/main-loop.c
index 7efc229..4534c89 100644
--- a/util/main-loop.c
+++ b/util/main-loop.c
@@ -144,7 +144,7 @@ int qemu_init_main_loop(Error **errp)
GSource *src;
Error *local_error = NULL;
- init_clocks();
+ init_clocks(qemu_timer_notify_cb);
ret = qemu_signal_init();
if (ret) {