aboutsummaryrefslogtreecommitdiff
path: root/main-loop.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-10-29 15:28:36 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2012-10-30 09:18:44 +0100
commit172061a0a0d98c974ea8d5ed715195237bc44225 (patch)
tree3a3310a8863ac5a824b713cf2af54dc24ac3352d /main-loop.c
parent744ca8e3754e6808c6b5331d287adc533fca0ad3 (diff)
main-loop: unify qemu_init_main_loop between QEMU and tools
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'main-loop.c')
-rw-r--r--main-loop.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/main-loop.c b/main-loop.c
index eb3b6e6253..baefe413d1 100644
--- a/main-loop.c
+++ b/main-loop.c
@@ -199,10 +199,13 @@ static int qemu_signal_init(void)
}
#endif
-int main_loop_init(void)
+int qemu_init_main_loop(void)
{
int ret;
+ init_clocks();
+ init_timer_alarm();
+
qemu_mutex_lock_iothread();
ret = qemu_signal_init();
if (ret) {