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
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 New Issue
Block a user