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:
pbrook 2006-07-15 17:40:09 +00:00
parent 13224a87fb
commit 634fce96eb

5
vl.c
View File

@ -5635,8 +5635,6 @@ int main(int argc, char **argv)
} }
} }
#endif #endif
init_timers();
init_timer_alarm();
register_machines(); register_machines();
machine = first_machine; machine = first_machine;
@ -6046,6 +6044,9 @@ int main(int argc, char **argv)
setvbuf(stdout, NULL, _IOLBF, 0); setvbuf(stdout, NULL, _IOLBF, 0);
init_timers();
init_timer_alarm();
#ifdef _WIN32 #ifdef _WIN32
socket_init(); socket_init();
#endif #endif