[Qemu-devel] [PATCH] New cpu-max field in query-machines QMP command output

2013-04-08 Thread Michal Novotny
This alters the query-machines QMP command to output information about maximum number of CPUs for each machine type with default value 1 in case the number of max_cpus is not set. Signed-off-by: Michal Novotny --- qapi-schema.json | 2 +- vl.c | 1 + 2 files changed, 2 insertions(+),

Re: [Qemu-devel] [PATCH] New cpu-max field in query-machines QMP command output

2013-04-08 Thread Michal Novotny
On 04/08/2013 06:18 PM, Igor Mammedov wrote: > On Mon, 8 Apr 2013 10:02:59 -0400 > Luiz Capitulino wrote: > >> On Mon, 8 Apr 2013 12:00:35 +0200 >> Michal Novotny wrote: >> >>> This alters the query-machines QMP command to output information >>> about maximum number of CPUs for each machine typ

Re: [Qemu-devel] [PATCH] New cpu-max field in query-machines QMP command output

2013-04-08 Thread Igor Mammedov
On Mon, 8 Apr 2013 10:02:59 -0400 Luiz Capitulino wrote: > On Mon, 8 Apr 2013 12:00:35 +0200 > Michal Novotny wrote: > > > This alters the query-machines QMP command to output information > > about maximum number of CPUs for each machine type with default > > value 1 in case the number of max_

Re: [Qemu-devel] [PATCH] New cpu-max field in query-machines QMP command output

2013-04-08 Thread Michal Novotny
Just for clarification why I did this: Some of the libvirt guys would like the functionality to know number of CPUs supported per machine type. This usually doesn't matter on x86 architectures however it matters on ARM, for example, because highbank machine type supports up to 4 CPUs however integr

Re: [Qemu-devel] [PATCH] New cpu-max field in query-machines QMP command output

2013-04-08 Thread Luiz Capitulino
On Mon, 8 Apr 2013 12:00:35 +0200 Michal Novotny wrote: > This alters the query-machines QMP command to output information > about maximum number of CPUs for each machine type with default > value 1 in case the number of max_cpus is not set. > > Signed-off-by: Michal Novotny > --- > qapi-sche