On Wed, 3 Sep 2014 17:06:16 +0800 Gu Zheng <guz.f...@cn.fujitsu.com> wrote:
> diff --git a/qom/cpu.c b/qom/cpu.c > index b32dd0a..af8e83f 100644 > --- a/qom/cpu.c > +++ b/qom/cpu.c > @@ -304,7 +304,6 @@ static void cpu_common_realizefn(DeviceState *dev, Error > **errp) > if (dev->hotplugged) { > cpu_synchronize_post_init(cpu); > notifier_list_notify(&cpu_added_notifiers, dev); ^^^ should be dropped as well an hotplug handler should take care about everything this call did. > - cpu_resume(cpu); > } > } >