Re: [Qemu-devel] [PATCH v2 6/7] spapr: use ppc_set_vcpu_dt_id() in CPU hotplug code

2016-07-02 Thread Greg Kurz
On Sat, 2 Jul 2016 13:44:08 +0530 Bharata B Rao wrote: > On Sat, Jul 02, 2016 at 12:42:04AM +0200, Greg Kurz wrote: > > Starting with version 2.7, pseries machine now support hotplug of > > cpu cores. The implementation requires to open code cpu creation > > and thus does not call ppc_cpu_init().

Re: [Qemu-devel] [PATCH v2 6/7] spapr: use ppc_set_vcpu_dt_id() in CPU hotplug code

2016-07-02 Thread Bharata B Rao
On Sat, Jul 02, 2016 at 12:42:04AM +0200, Greg Kurz wrote: > Starting with version 2.7, pseries machine now support hotplug of > cpu cores. The implementation requires to open code cpu creation > and thus does not call ppc_cpu_init(). > > This patch does all the plumbing to allow pseries machine t

[Qemu-devel] [PATCH v2 6/7] spapr: use ppc_set_vcpu_dt_id() in CPU hotplug code

2016-07-01 Thread Greg Kurz
Starting with version 2.7, pseries machine now support hotplug of cpu cores. The implementation requires to open code cpu creation and thus does not call ppc_cpu_init(). This patch does all the plumbing to allow pseries machine types with version >= 2.7 to generate cpu DT ids out of the indexes of