From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:44461) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPa76-00081S-G4 for qemu-devel@nongnu.org; Tue, 09 Apr 2013 11:05:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UPa74-0005Tc-VA for qemu-devel@nongnu.org; Tue, 09 Apr 2013 11:05:36 -0400 Received: from mx1.redhat.com ([209.132.183.28]:5550) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPa74-0005TA-NN for qemu-devel@nongnu.org; Tue, 09 Apr 2013 11:05:34 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r39F5Xx2010372 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 9 Apr 2013 11:05:33 -0400 Message-ID: <51642E3C.5080600@redhat.com> Date: Tue, 09 Apr 2013 09:05:32 -0600 From: Eric Blake MIME-Version: 1.0 References: <3cbbe046d7a236711b868bb1565bf154d2389cb5.1365517320.git.minovotn@redhat.com> In-Reply-To: <3cbbe046d7a236711b868bb1565bf154d2389cb5.1365517320.git.minovotn@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="----enig2KIMNNIJRWMTRCFECADII" Subject: Re: [Qemu-devel] [PATCH] Revert "New QMP command query-cpu-max and HMP command cpu_max" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Michal Novotny Cc: qemu-devel@nongnu.org, lcapitulino@redhat.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2KIMNNIJRWMTRCFECADII Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 04/09/2013 08:23 AM, Michal Novotny wrote: > This reverts commit 4d700430a20b3d53b7b15bc5f6666f7e570e3f2c as asked b= y > Luiz. The patch has been obsoleted by extending MachineInfo structure > by cpu-max field. >=20 > Signed-off-by: Michal Novotny > --- > hmp-commands.hx | 2 -- > hmp.c | 8 -------- > hmp.h | 1 - > monitor.c | 7 ------- > qapi-schema.json | 11 ----------- > qmp-commands.hx | 22 ---------------------- > vl.c | 5 ----- > 7 files changed, 56 deletions(-) Reviewed-by: Eric Blake Safe if taken in time for 1.5 alongside the MachineInfo improvements. Libvirt has not yet coded up support to use either method, and is just fine using the method that gets cemented by the 1.5 release. > ## > -## @query-cpu-max > -## > -## query maximum number of CPUs supported by machine > -## > -## Returns: number of CPUs > -## > -## Since: 1.5 > -### > -{ 'command': 'query-cpu-max', 'returns': 'int' } --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org ------enig2KIMNNIJRWMTRCFECADII 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/ iQEcBAEBCAAGBQJRZC48AAoJEKeha0olJ0NqX7MH/3ImrNTojV86eAf1I5AijF09 gA0FMvUPXuKixxtDjbGBnyEFrJP8z9OI8A6yZHcOhBCG9S1yIzVZMvJ7fBnA16YK 2dCh7swtER5KtdNIGks+CaNAzYa3S/d4W7+jAqcufCl/4nosmEULUU70uC0Kyzbz JQ6Be2HVT8QdPTL9ztk9bGuqcJeysSqbOIPEM4EiL8j2cqi8Y1CJHgrPMvuiIYAK D7LOUsWRyXbihsn7elzVHfEC+kYqb7bEDoxPK29fle+xLsNWAf/kwYXCqvGIolDc 8emz78jlj/SaEAQtOS461PMk3r/vzo5sajx8oAiHC387uzjLTI6eyiAhKc7SMJI= =fDk4 -----END PGP SIGNATURE----- ------enig2KIMNNIJRWMTRCFECADII--