On 03/12/2013 10:02 AM, Michal Novotny wrote: > This is the patch to introduce the query-cpu-max QMP command to get > the maximum number of CPUs supported by the currently running emulator > instance. This may differ machine from machine as defined by -machine > settings and max_cpus member of QEMUMachine structure. > > It's been tested both using QMP/qmp utility and telnet session on > the QEMU session. > > The HMP counterpart called cpu_max has been introduced by this patch > too. > > Signed-off-by: Michal Novotny > --- > hmp-commands.hx | 14 ++++++++++++++ > hmp.c | 15 +++++++++++++++ > hmp.h | 1 + > qapi-schema.json | 11 +++++++++++ > qmp-commands.hx | 22 ++++++++++++++++++++++ > vl.c | 5 +++++ > 6 files changed, 68 insertions(+) Reviewed-by: Eric Blake -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org