diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-10-29 15:28:36 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2012-10-30 09:18:44 +0100 |
commit | 172061a0a0d98c974ea8d5ed715195237bc44225 (patch) | |
tree | 3a3310a8863ac5a824b713cf2af54dc24ac3352d /main-loop.c | |
parent | 744ca8e3754e6808c6b5331d287adc533fca0ad3 (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.c | 5 |
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) { |