Skip to content

Commit

Permalink
io-thread: make sure to initialize qemu_work_cond and qemu_cpu_cond
Browse files Browse the repository at this point in the history
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
  • Loading branch information
Anthony Liguori committed Feb 14, 2011
1 parent 8668f61 commit ed94592
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cpus.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ed94592

Please sign in to comment.