mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
main-loop: unify qemu_init_main_loop between QEMU and tools
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
744ca8e375
commit
172061a0a0
4 changed files with 4 additions and 23 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue