From: Igor Mammedov Date: Tue, 23 Apr 2013 08:29:38 +0000 (+0200) Subject: cpu: Resume CPU from DeviceClass::realize() if hot-plugged X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.1~900^2~59^2~148^2~25 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6afb4721f3e45da727110470a61aafcd6682395e;p=sdk%2Femulator%2Fqemu.git cpu: Resume CPU from DeviceClass::realize() if hot-plugged Signed-off-by: Igor Mammedov Signed-off-by: Andreas Färber --- diff --git a/qom/cpu.c b/qom/cpu.c index 66f7c00c29..b91213e6b1 100644 --- a/qom/cpu.c +++ b/qom/cpu.c @@ -62,6 +62,7 @@ static void cpu_common_realizefn(DeviceState *dev, Error **errp) if (dev->hotplugged) { cpu_synchronize_post_init(cpu); + cpu_resume(cpu); } }