Don't call cpu_synchronize_state() from machine init.
authorScott Wood <scottwood@freescale.com>
Mon, 4 Oct 2010 11:15:58 +0000 (11:15 +0000)
committerAlexander Graf <agraf@suse.de>
Fri, 8 Apr 2011 09:32:20 +0000 (11:32 +0200)
commite53cf0fc04220e4252680d2d41a0a04f19b10f1a
tree0105f0fede508ffff4b015fde1d47e978ad649af
parent495a720e001ea92747782e3fb6a42a218708b62c
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>
hw/ppc440_bamboo.c
hw/ppce500_mpc8544ds.c