mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 06:43:53 -06:00
vl: unify calls to init_timer_alarm
init_timer_alarm was being called twice. This is not needed. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
c8122c35e6
commit
f9ab4654e3
2 changed files with 4 additions and 6 deletions
|
@ -123,7 +123,10 @@ int qemu_init_main_loop(void)
|
|||
GSource *src;
|
||||
|
||||
init_clocks();
|
||||
init_timer_alarm();
|
||||
if (init_timer_alarm() < 0) {
|
||||
fprintf(stderr, "could not initialize alarm timer\n");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
qemu_mutex_lock_iothread();
|
||||
ret = qemu_signal_init();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue