From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:49499) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFsTk-0000Pf-0c for qemu-devel@nongnu.org; Wed, 13 Mar 2013 16:40:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UFsTi-0000cg-K3 for qemu-devel@nongnu.org; Wed, 13 Mar 2013 16:40:51 -0400 Received: from mx1.redhat.com ([209.132.183.28]:46288) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFsTi-0000c3-AG for qemu-devel@nongnu.org; Wed, 13 Mar 2013 16:40:50 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r2DKentR005881 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 13 Mar 2013 16:40:49 -0400 Message-ID: <5140E450.4090606@redhat.com> Date: Wed, 13 Mar 2013 14:40:48 -0600 From: Eric Blake MIME-Version: 1.0 References: In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="----enig2ICGLAOXNRIJTREDJJIIO" Subject: Re: [Qemu-devel] [PATCH] Introduce query-cpu-max QMP command and cpu_max HMP counterpart List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Michal Novotny Cc: qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2ICGLAOXNRIJTREDJJIIO Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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. >=20 > It's been tested both using QMP/qmp utility and telnet session on > the QEMU session. >=20 > The HMP counterpart called cpu_max has been introduced by this patch > too. >=20 > 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 --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org ------enig2ICGLAOXNRIJTREDJJIIO Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJRQORQAAoJEKeha0olJ0NqdXcIAJW26K9z56Zp3WOQ1uj1WK1k T878jrzA1Ymhjm/KxOvEJCCMcta8hfVDKSSDVv5aZpgbjPHKXVegvueFfElrYB+G 0GJaXDzIdcdo3QcEmXKDSiT3kTKTEPlAwKuHraYVW6756KLt/nEZaBYujlSWxPHb z/7dKGaAqt711c8lx4pVjd6Zpdn2nTy7ladQqX/505AXO6T9iVjWVCQQ4XC53C9I uzDsiHerDax1t4IshLeLguPT0Nu3JzMV/fTPIS7scnL0G5QyLQrXdYz0ESMepMdx sWZv4on4Ww9wzpA1Wo3MMVgoGWifUNlSCCqNOACrCxeDtNtEKyAwuhfqPUlKMMI= =IBAE -----END PGP SIGNATURE----- ------enig2ICGLAOXNRIJTREDJJIIO--