[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] qmp query-balloon return only "actual" value ?
From: |
Luiz Capitulino |
Subject: |
Re: [Qemu-devel] qmp query-balloon return only "actual" value ? |
Date: |
Thu, 6 Dec 2012 10:34:23 -0200 |
On Wed, 05 Dec 2012 15:07:24 +0100 (CET)
Alexandre DERUMIER <address@hidden> 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.