From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:33216) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tgaf0-0005E4-Ry for qemu-devel@nongnu.org; Thu, 06 Dec 2012 07:34:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tgaeq-0003ib-VI for qemu-devel@nongnu.org; Thu, 06 Dec 2012 07:34:38 -0500 Received: from mx1.redhat.com ([209.132.183.28]:35714) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tgaeq-0003hw-M0 for qemu-devel@nongnu.org; Thu, 06 Dec 2012 07:34:28 -0500 Date: Thu, 6 Dec 2012 10:34:23 -0200 From: Luiz Capitulino Message-ID: <20121206103423.3134cd3a@doriath.home> In-Reply-To: <671c943e-ed53-43c6-84eb-b36cf8607a0d@mailpro> References: <671c943e-ed53-43c6-84eb-b36cf8607a0d@mailpro> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] qmp query-balloon return only "actual" value ? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexandre DERUMIER Cc: qemu-devel 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.