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:
Anthony Liguori 2011-02-08 18:18:18 +01:00
parent 8668f61d20
commit ed94592be2

4
cpus.c
View file

@ -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);