summaryrefslogtreecommitdiffstats
path: root/hw/ppc440_bamboo.c
diff options
context:
space:
mode:
authorScott Wood <scottwood@freescale.com>2010-10-04 11:15:58 +0000
committerAlexander Graf <agraf@suse.de>2011-04-08 11:32:20 +0200
commit64a4d100b502f24d0116437b9e5678c032a233e6 (patch)
tree0105f0fede508ffff4b015fde1d47e978ad649af /hw/ppc440_bamboo.c
parentf124a410ea12a644c3577c5303846c37baa5e819 (diff)
downloadhqemu-64a4d100b502f24d0116437b9e5678c032a233e6.zip
hqemu-64a4d100b502f24d0116437b9e5678c032a233e6.tar.gz
Don't call cpu_synchronize_state() from machine init.
This will deadlock when the I/O thread is used, since the CPU thread is blocked waiting for qemu_system_ready. The synchronization is unnecessary since this is before cpu_synchronize_all_post_init(). Signed-off-by: Scott Wood <scottwood@freescale.com> Acked-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/ppc440_bamboo.c')
-rw-r--r--hw/ppc440_bamboo.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/ppc440_bamboo.c b/hw/ppc440_bamboo.c
index 34ddf45..645e84f 100644
--- a/hw/ppc440_bamboo.c
+++ b/hw/ppc440_bamboo.c
@@ -156,8 +156,6 @@ static void bamboo_init(ram_addr_t ram_size,
exit(1);
}
- cpu_synchronize_state(env);
-
/* Set initial guest state. */
env->gpr[1] = (16<<20) - 8;
env->gpr[3] = FDT_ADDR;
OpenPOWER on IntegriCloud