Re: [Qemu-devel] [PATCH v3] New QMP command query-cpu-max and HMP command cpu_max

2013-03-26 Thread Michal Novotny
On 03/25/2013 07:37 PM, Luiz Capitulino wrote: > On Mon, 25 Mar 2013 17:31:33 +0100 > Michal Novotny wrote: > >> These commands return the maximum number of CPUs supported by the >> currently running emulator instance, as defined in its QEMUMachine >> struct. > I've applied this patch to the QMP

Re: [Qemu-devel] [PATCH v3] New QMP command query-cpu-max and HMP command cpu_max

2013-03-26 Thread Paolo Bonzini
Il 26/03/2013 08:14, Paolo Bonzini ha scritto: >> > These commands return the maximum number of CPUs supported by the >> > currently running emulator instance, as defined in its QEMUMachine >> > struct. > For HMP, I think the output could be added to "info cpus". Just saw Luiz's solution, that's a

Re: [Qemu-devel] [PATCH v3] New QMP command query-cpu-max and HMP command cpu_max

2013-03-26 Thread Paolo Bonzini
Il 25/03/2013 17:31, Michal Novotny ha scritto: > These commands return the maximum number of CPUs supported by the > currently running emulator instance, as defined in its QEMUMachine > struct. For HMP, I think the output could be added to "info cpus". Paolo > Signed-off-by: Michal Novotny > -

[Qemu-devel] [PATCH v3] New QMP command query-cpu-max and HMP command cpu_max

2013-03-25 Thread Michal Novotny
These commands return the maximum number of CPUs supported by the currently running emulator instance, as defined in its QEMUMachine struct. Signed-off-by: Michal Novotny --- hmp-commands.hx | 14 ++ hmp.c| 8 hmp.h| 1 + qapi-schema.json | 11

Re: [Qemu-devel] [PATCH v3] New QMP command query-cpu-max and HMP command cpu_max

2013-03-25 Thread Luiz Capitulino
On Mon, 25 Mar 2013 17:31:33 +0100 Michal Novotny wrote: > These commands return the maximum number of CPUs supported by the > currently running emulator instance, as defined in its QEMUMachine > struct. I've applied this patch to the QMP tree, but with one change (see below). > > Signed-off-b