commit | 6afb4721f3e45da727110470a61aafcd6682395e | [log] [tgz] |
---|---|---|
author | Igor Mammedov <imammedo@redhat.com> | Tue Apr 23 10:29:38 2013 +0200 |
committer | Andreas Färber <afaerber@suse.de> | Wed May 01 13:04:17 2013 +0200 |
tree | 976e8e6d96a8b04969ef19c0b8dd6980608d4985 | |
parent | 2993683b0fde0f836777c945baaddcaa5937903f [diff] |
cpu: Resume CPU from DeviceClass::realize() if hot-plugged Signed-off-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
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 @@ if (dev->hotplugged) { cpu_synchronize_post_init(cpu); + cpu_resume(cpu); } }