diff options
| author | Igor Mammedov | 2013-04-23 10:29:38 +0200 |
|---|---|---|
| committer | Andreas Färber | 2013-05-01 13:04:17 +0200 |
| commit | 6afb4721f3e45da727110470a61aafcd6682395e (patch) | |
| tree | 976e8e6d96a8b04969ef19c0b8dd6980608d4985 /qom | |
| parent | cpu: Introduce cpu_resume(), for single CPU (diff) | |
| download | qemu-6afb4721f3e45da727110470a61aafcd6682395e.tar.gz qemu-6afb4721f3e45da727110470a61aafcd6682395e.tar.xz 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')
| -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); } } |
