diff options
author | Igor Mammedov <imammedo@redhat.com> | 2013-04-23 10:29:38 +0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2013-05-01 13:04:17 +0200 |
commit | 6afb4721f3e45da727110470a61aafcd6682395e (patch) | |
tree | 976e8e6d96a8b04969ef19c0b8dd6980608d4985 /qom/cpu.c | |
parent | 2993683b0fde0f836777c945baaddcaa5937903f (diff) | |
download | qemu-6afb4721f3e45da727110470a61aafcd6682395e.tar.gz qemu-6afb4721f3e45da727110470a61aafcd6682395e.tar.bz2 qemu-6afb4721f3e45da727110470a61aafcd6682395e.zip |
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>
Diffstat (limited to 'qom/cpu.c')
-rw-r--r-- | qom/cpu.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -62,6 +62,7 @@ static void cpu_common_realizefn(DeviceState *dev, Error **errp) if (dev->hotplugged) { cpu_synchronize_post_init(cpu); + cpu_resume(cpu); } } |