提交 634fce96 编写于 作者: P pbrook

Defer timer initialization until after commandline processing.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2057 c046a42c-6fe2-441c-8c8c-71466251a162
上级 13224a87
...@@ -5635,8 +5635,6 @@ int main(int argc, char **argv) ...@@ -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) ...@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册