Message ID | 5640FC4B.600@de.ibm.com |
---|---|
State | New |
Headers | show |
On Mon, Nov 09, 2015 at 09:04:27PM +0100, Christian Borntraeger wrote: > > > Bharata did implement device_add for pseries, I thought. Yes. For pseries, my patchset did CPU hotplug via device_add and device_del commands. And that's what I am planning to stick to going forward. > > Seems that the patches did not make it into upstream yet. > Bharata, is cpu hotplug on pseries still missing? Yes, the last version I posted is at https://lists.gnu.org/archive/html/qemu-devel/2015-08/msg00650.html Andreas mentioned that he would like to see some generic changes for supporting device_add for CPU, socket vs core level hotplug, defining the semantics etc. There was some discussion towards that and this is last I heard about it: https://lists.nongnu.org/archive/html/qemu-devel/2015-10/msg05347.html Regards, Bharata.
diff --git a/target-s390x/cpu.c b/target-s390x/cpu.c index 266575c..cfcff52 100644 --- a/target-s390x/cpu.c +++ b/target-s390x/cpu.c @@ -377,7 +377,7 @@ static void s390_cpu_class_init(ObjectClass *oc, void *data) scc->parent_realize = dc->realize; dc->realize = s390_cpu_realizefn; - + dc->cannot_instantiate_with_device_add_yet = false; scc->parent_reset = cc->reset; #if !defined(CONFIG_USER_ONLY) scc->load_normal = s390_cpu_load_normal