Re: [Qemu-devel] [RFC PATCH 1/2] qapi: Add vcpu id to query-hotpluggable-cpus output

2016-07-11 Thread Igor Mammedov
On Mon, 11 Jul 2016 13:30:38 +1000 David Gibson wrote: > On Fri, 8 Jul 2016 13:40:38 +0200 > Igor Mammedov wrote: > > > On Fri, 8 Jul 2016 12:18:55 +1000 > > David Gibson wrote: > > > > > On Thu, 7 Jul 2016 17:17:13 +0200 > > > Peter Krempa wrote: > > > > > > > Add 'vcpu index' to th

Re: [Qemu-devel] [RFC PATCH 1/2] qapi: Add vcpu id to query-hotpluggable-cpus output

2016-07-10 Thread David Gibson
On Fri, 8 Jul 2016 13:40:38 +0200 Igor Mammedov wrote: > On Fri, 8 Jul 2016 12:18:55 +1000 > David Gibson wrote: > > > On Thu, 7 Jul 2016 17:17:13 +0200 > > Peter Krempa wrote: > > > > > Add 'vcpu index' to the output of query hotpluggable cpus. This output > > > is identical to the linear

Re: [Qemu-devel] [RFC PATCH 1/2] qapi: Add vcpu id to query-hotpluggable-cpus output

2016-07-08 Thread Igor Mammedov
On Fri, 8 Jul 2016 12:18:55 +1000 David Gibson wrote: > On Thu, 7 Jul 2016 17:17:13 +0200 > Peter Krempa wrote: > > > Add 'vcpu index' to the output of query hotpluggable cpus. This output > > is identical to the linear cpu index taken by the 'cpus' attribute > > passed to -numa. > > > The

Re: [Qemu-devel] [RFC PATCH 1/2] qapi: Add vcpu id to query-hotpluggable-cpus output

2016-07-07 Thread David Gibson
On Thu, 7 Jul 2016 17:17:13 +0200 Peter Krempa wrote: > Add 'vcpu index' to the output of query hotpluggable cpus. This output > is identical to the linear cpu index taken by the 'cpus' attribute > passed to -numa. The problem is, the vcpu index of what? Each entry in the hotpluggable cpus ta

[Qemu-devel] [RFC PATCH 1/2] qapi: Add vcpu id to query-hotpluggable-cpus output

2016-07-07 Thread Peter Krempa
Add 'vcpu index' to the output of query hotpluggable cpus. This output is identical to the linear cpu index taken by the 'cpus' attribute passed to -numa. This will allow to reliably map the cpu number to a given topology element without making mgmt apps to reimplement the mapping. Signed-off-by: