From 6afb4721f3e45da727110470a61aafcd6682395e Mon Sep 17 00:00:00 2001 From: Igor Mammedov Date: Tue, 23 Apr 2013 10:29:38 +0200 Subject: cpu: Resume CPU from DeviceClass::realize() if hot-plugged MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Igor Mammedov Signed-off-by: Andreas Färber --- qom/cpu.c | 1 + 1 file changed, 1 insertion(+) (limited to 'qom/cpu.c') diff --git a/qom/cpu.c b/qom/cpu.c index 66f7c00..b91213e 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); } } -- cgit v1.1