projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2993683
)
cpu: Resume CPU from DeviceClass::realize() if hot-plugged
author
Igor Mammedov
<imammedo@redhat.com>
Tue, 23 Apr 2013 08:29:38 +0000
(10:29 +0200)
committer
Andreas Färber
<afaerber@suse.de>
Wed, 1 May 2013 11:04:17 +0000
(13:04 +0200)
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
qom/cpu.c
patch
|
blob
|
history
diff --git
a/qom/cpu.c
b/qom/cpu.c
index 66f7c00c29ec909cb969d0d273b79bc986e0361e..b91213e6b1c407e35fdff6f48ecb0c34507d8df9 100644
(file)
--- 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);
}
}