>>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" <lcapitul...@redhat.com> À: "Alexandre DERUMIER" <aderum...@odiso.com> Cc: "qemu-devel" <qemu-devel@nongnu.org> Envoyé: Jeudi 6 Décembre 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 <aderum...@odiso.com> 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.