aboutsummaryrefslogtreecommitdiff
path: root/cpus.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2011-02-08 18:18:18 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2011-02-14 08:43:30 -0600
commited94592be21557054f83962ffcfd7b11c25d3b5d (patch)
treeb41f2ec9762fd91ed3e88a874eb035732c0ec113 /cpus.c
parent8668f61d20eac971d116ebbe8436b4ae963884a8 (diff)
io-thread: make sure to initialize qemu_work_cond and qemu_cpu_cond
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'cpus.c')
-rw-r--r--cpus.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpus.c b/cpus.c
index 4c9928e2ce..2d920907e0 100644
--- a/cpus.c
+++ b/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);