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 | |
| parent | 8668f61d20eac971d116ebbe8436b4ae963884a8 (diff) | |
| download | focaccia-qemu-ed94592be21557054f83962ffcfd7b11c25d3b5d.tar.gz focaccia-qemu-ed94592be21557054f83962ffcfd7b11c25d3b5d.zip | |
io-thread: make sure to initialize qemu_work_cond and qemu_cpu_cond
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
| -rw-r--r-- | cpus.c | 4 |
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); |