From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:50452) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFBq2-0005nb-6y for qemu-devel@nongnu.org; Fri, 21 Sep 2012 18:36:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TFBq0-0002Am-VL for qemu-devel@nongnu.org; Fri, 21 Sep 2012 18:36:46 -0400 Received: from mx1.redhat.com ([209.132.183.28]:8591) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFBq0-0002Ai-Kg for qemu-devel@nongnu.org; Fri, 21 Sep 2012 18:36:44 -0400 Message-ID: <505CEBE9.3070306@redhat.com> Date: Fri, 21 Sep 2012 16:36:25 -0600 From: Eric Blake MIME-Version: 1.0 References: <1348226255-4226-1-git-send-email-vasilis.liaskovitis@profitbricks.com> <1348226255-4226-13-git-send-email-vasilis.liaskovitis@profitbricks.com> In-Reply-To: <1348226255-4226-13-git-send-email-vasilis.liaskovitis@profitbricks.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigDF312E2C49406678902FB2D8" Subject: Re: [Qemu-devel] [RFC PATCH v3 12/19] Implement "info memory-total" and "query-memory-total" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Vasilis Liaskovitis Cc: kvm@vger.kernel.org, seabios@seabios.org, qemu-devel@nongnu.org, gleb@redhat.com, blauwirbel@gmail.com, kevin@koconnor.net, avi@redhat.com, anthony@codemonkey.ws, imammedo@redhat.com, kraxel@redhat.com This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigDF312E2C49406678902FB2D8 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 09/21/2012 05:17 AM, Vasilis Liaskovitis wrote: > Returns total physical memory available to guest in bytes, including ho= tplugged > memory. Note that the number reported here may be different from what t= he guest > sees e.g. if the guest has not logically onlined hotplugged memory. >=20 > This functionality is provided independently of a balloon device, since= a > guest can be using ACPI memory hotplug without using a balloon device. >=20 > Signed-off-by: Vasilis Liaskovitis > +++ b/hmp-commands.hx > @@ -1464,6 +1464,8 @@ show qdev device model list > show roms > @item info memory-hotplug > show memory-hotplug > +@item info memory-total > +show memory-total > +++ b/monitor.c > @@ -2747,6 +2747,13 @@ static mon_cmd_t info_cmds[] =3D { > .mhandler.info =3D hmp_info_memory_hotplug, > }, > { > + .name =3D "memory-total", We're split on HMP naming conventions ('-' vs. '_'); we have 'show migrate_capabilities' but 'show block-jobs'. Oh well, that's life. Reviewed-by: Eric Blake --=20 Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --------------enigDF312E2C49406678902FB2D8 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.12 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iQEcBAEBCAAGBQJQXOvpAAoJEKeha0olJ0Nq0NQIAJI+c55A03iXQRSSwh4NhhAm SSlBRMmDqozOBuSGieGzWVnZgtvINPpHvs1j20HGd80VX/O7j0cdh2qXCSTxg9Z3 yrqVtAOeBvgRhOjDUCmVUUAZO7rxcCf7rXYTBAJz2ZLao5+e0/kgu379FIs6n0OR 2HmPvpnbYT8xg/yud4F7XDoSt8PK0ATeSO2tkLxupwAAB85fNFM5KyL/LfZPnCXz PI+lP8k9tIU29ijt83kzjHqG8BHUAr4f9ElvOK5Wlrv2m6sA4fwI+dk0nZO74lm+ Vc+/xCLWX54dLCvdJAzvGUG9aJGKBKwxcQ+r9OkWMSTbxbuzNbC+DlD/Q0hGrlo= =x3lI -----END PGP SIGNATURE----- --------------enigDF312E2C49406678902FB2D8--