mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-05 20:35:44 +00:00
io-thread: make sure to initialize qemu_work_cond and qemu_cpu_cond
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
8668f61d20
commit
ed94592be2
1 changed files with 3 additions and 1 deletions
4
cpus.c
4
cpus.c
|
@ -412,8 +412,10 @@ int qemu_init_main_loop(void)
|
|||
if (ret)
|
||||
return ret;
|
||||
|
||||
qemu_cond_init(&qemu_pause_cond);
|
||||
qemu_cond_init(&qemu_cpu_cond);
|
||||
qemu_cond_init(&qemu_system_cond);
|
||||
qemu_cond_init(&qemu_pause_cond);
|
||||
qemu_cond_init(&qemu_work_cond);
|
||||
qemu_mutex_init(&qemu_fair_mutex);
|
||||
qemu_mutex_init(&qemu_global_mutex);
|
||||
qemu_mutex_lock(&qemu_global_mutex);
|
||||
|
|
Loading…
Reference in a new issue