Defer timer initialization until after commandline processing.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2057 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
13224a87fb
commit
634fce96eb
5
vl.c
5
vl.c
@ -5635,8 +5635,6 @@ int main(int argc, char **argv)
|
||||
}
|
||||
}
|
||||
#endif
|
||||
init_timers();
|
||||
init_timer_alarm();
|
||||
|
||||
register_machines();
|
||||
machine = first_machine;
|
||||
@ -6046,6 +6044,9 @@ int main(int argc, char **argv)
|
||||
|
||||
setvbuf(stdout, NULL, _IOLBF, 0);
|
||||
|
||||
init_timers();
|
||||
init_timer_alarm();
|
||||
|
||||
#ifdef _WIN32
|
||||
socket_init();
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user