Re: [Qemu-devel] [RFC v3 2/2] spapr: implement query-hotpluggable-cpus QMP command

2016-03-19 Thread Igor Mammedov
On Wed, 16 Mar 2016 10:49:41 +0530 Bharata B Rao wrote: > On Tue, Mar 15, 2016 at 02:24:08PM +0100, Igor Mammedov wrote: > > it returns a list of present/possible to hotplug CPU > > objects with a list of properties to use with > > device_add. > > > > in spapr case returned list would looks like

Re: [Qemu-devel] [RFC v3 2/2] spapr: implement query-hotpluggable-cpus QMP command

2016-03-15 Thread David Gibson
On Wed, 16 Mar 2016 10:49:41 +0530 Bharata B Rao wrote: > On Tue, Mar 15, 2016 at 02:24:08PM +0100, Igor Mammedov wrote: > > it returns a list of present/possible to hotplug CPU > > objects with a list of properties to use with > > device_add. > > > > in spapr case returned list would looks like

Re: [Qemu-devel] [RFC v3 2/2] spapr: implement query-hotpluggable-cpus QMP command

2016-03-15 Thread Bharata B Rao
On Tue, Mar 15, 2016 at 02:24:08PM +0100, Igor Mammedov wrote: > it returns a list of present/possible to hotplug CPU > objects with a list of properties to use with > device_add. > > in spapr case returned list would looks like: > -> { "execute": "query-hotpluggable-cpus" } > <- {"return": [ >

[Qemu-devel] [RFC v3 2/2] spapr: implement query-hotpluggable-cpus QMP command

2016-03-15 Thread Igor Mammedov
it returns a list of present/possible to hotplug CPU objects with a list of properties to use with device_add. in spapr case returned list would looks like: -> { "execute": "query-hotpluggable-cpus" } <- {"return": [ { "props": { "core": 1 }, "type": "spapr-cpu-core", "vcpus-count": 2