diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2011-02-08 18:18:18 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-02-14 08:43:30 -0600 |
commit | ed94592be21557054f83962ffcfd7b11c25d3b5d (patch) | |
tree | b41f2ec9762fd91ed3e88a874eb035732c0ec113 /cpus.c | |
parent | 8668f61d20eac971d116ebbe8436b4ae963884a8 (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.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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); |