Received: from eggs.gnu.org ([208.118.235.92]:36607) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TgazA-0000d3-QV for qemu-devel@nongnu.org; Thu, 06 Dec 2012 07:55:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tgaz3-0001UX-9F for qemu-devel@nongnu.org; Thu, 06 Dec 2012 07:55:28 -0500 Received: from mailpro.odiso.net ([89.248.209.98]:47673) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tgaz3-0001UN-0x for qemu-devel@nongnu.org; Thu, 06 Dec 2012 07:55:21 -0500 Date: Thu, 06 Dec 2012 13:55:14 +0100 (CET) From: Alexandre DERUMIER Message-ID: In-Reply-To: <20121206103423.3134cd3a@doriath.home> Content-Type: multipart/alternative; boundary="=_ae28480f-27db-46c3-b047-68fe40b7958d" MIME-Version: 1.0 Subject: Re: [Qemu-devel] qmp query-balloon return only "actual" value ? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Luiz Capitulino Cc: qemu-devel --=_ae28480f-27db-46c3-b047-68fe40b7958d Content-Type: multipart/related; boundary="=_2c58dd45-eb87-49e6-9c17-85c2e32d7a97" --=_2c58dd45-eb87-49e6-9c17-85c2e32d7a97 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable >>Yes, that's correct, the doc is wrong. Oh, ok, thanks! >>Balloon stats have been disabled >>long ago. I've sent a series to re-enable them: >> >>http://lists.gnu.org/archive/html/qemu-devel/2012-12/msg00287.html Great. I hope I'll be ready for qemu 1.4 :) I'll send a patch fixing the old doc shortly. Thanks for your response ! ----- Mail original ----- De: "Luiz Capitulino" =C3=80: "Alexandre DERUMIER" Cc: "qemu-devel" Envoy=C3=A9: Jeudi 6 D=C3=A9cembre 2012 13:34:23 Objet: Re: [Qemu-devel] qmp query-balloon return only "actual" value ? On Wed, 05 Dec 2012 15:07:24 +0100 (CET) Alexandre DERUMIER wrote: > Hi, > I'm trying to use qmp "query-balloon", to get stats, > > From Doc, I expect to have > > > -> { "execute": "query-balloon" } > <- { > "return":{ > "actual":1073741824, > "mem_swapped_in":0, > "mem_swapped_out":0, > "major_page_faults":142, > "minor_page_faults":239245, > "free_mem":1014185984, > "total_mem":1044668416 > } > } > > > But I got only > > -> { "execute": "query-balloon" } > <- { > "return":{ > "actual":1073741824, > } > } Yes, that's correct, the doc is wrong. Balloon stats have been disabled long ago. I've sent a series to re-enable them: http://lists.gnu.org/archive/html/qemu-devel/2012-12/msg00287.html I'll send a patch fixing the old doc shortly. --=_2c58dd45-eb87-49e6-9c17-85c2e32d7a97-- --=_ae28480f-27db-46c3-b047-68fe40b7958d--