qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Luiz Capitulino <lcapitulino@redhat.com>
To: Alexandre DERUMIER <aderumier@odiso.com>
Cc: qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] qmp query-balloon return only "actual" value ?
Date: Thu, 6 Dec 2012 10:34:23 -0200	[thread overview]
Message-ID: <20121206103423.3134cd3a@doriath.home> (raw)
In-Reply-To: <671c943e-ed53-43c6-84eb-b36cf8607a0d@mailpro>

On Wed, 05 Dec 2012 15:07:24 +0100 (CET)
Alexandre DERUMIER <aderumier@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.

  reply	other threads:[~2012-12-06 12:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <e3a5d4bc-9192-4d99-a30c-517826ea7c38@mailpro>
2012-12-05 14:07 ` [Qemu-devel] qmp query-balloon return only "actual" value ? Alexandre DERUMIER
2012-12-06 12:34   ` Luiz Capitulino [this message]
2012-12-06 12:55     ` Alexandre DERUMIER

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121206103423.3134cd3a@doriath.home \
    --to=lcapitulino@redhat.com \
    --cc=aderumier@odiso.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).