From: Luiz Capitulino <lcapitulino@redhat.com>
To: Ken'ichi Ohmichi <oomichi@mxs.nes.nec.co.jp>
Cc: Minoru Usui <usui@mxm.nes.nec.co.jp>,
qemu-devel@nongnu.org, agl@us.ibm.com
Subject: Re: [Qemu-devel] [Qestion] What status of memory stats feature
Date: Wed, 15 Dec 2010 15:39:27 -0200 [thread overview]
Message-ID: <20101215153927.1cd4690e@doriath> (raw)
In-Reply-To: <20101215162005.fdbc60b0.oomichi@mxs.nes.nec.co.jp>
On Wed, 15 Dec 2010 16:20:05 +0900
"Ken'ichi Ohmichi" <oomichi@mxs.nes.nec.co.jp> wrote:
>
> Hi,
>
> I tried to get the memory stats by using virDomainMemoryStats() of libvirt,
> but it could not do it because of the following patch:
>
> [PATCH 03/23] disable guest-provided stats on "info balloon" command
> 2010/10/01 from Luiz Capitulino
> http://www.mail-archive.com/qemu-devel@nongnu.org/msg43024.html
>
> According to the related thread, the above patch avoids hanging user
> monitor, and people hope the memory stats feature will be able in the
> future. So I'd like to know the status of this feature.
>
> Is there the patch for enabling the feature ?
> If the patch exists, I'd like to try it.
It doesn't, afaik.
> What is the essential problem ?
There are two essential problems here.
The first one is that QMP lacks true asynchronous command support (it does
have some code for it, but it's incomplete).
The second problem is that we must not make an existing synchronous command
asynchronous, because this breaks the ABI.
> Does some infinite loop happen ?
No, the guest doesn't respond.
> Unfortunately, I cannot understand the cause of hanging user monitor.
The balloon command needs guest cooperation (ie. it talks to the guest),
if the guest doesn't respond the command will never return.
We don't have a precise ETA for async support, but if it depends only on
the new error framework work, then we could have it for 0.15. If it depends
on the full monitor redesign work, then I guess we'll two releases.
next prev parent reply other threads:[~2010-12-15 17:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-15 7:20 [Qemu-devel] [Qestion] What status of memory stats feature Ken'ichi Ohmichi
2010-12-15 17:39 ` Luiz Capitulino [this message]
2010-12-15 22:58 ` Adam Litke
2010-12-16 11:31 ` Luiz Capitulino
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=20101215153927.1cd4690e@doriath \
--to=lcapitulino@redhat.com \
--cc=agl@us.ibm.com \
--cc=oomichi@mxs.nes.nec.co.jp \
--cc=qemu-devel@nongnu.org \
--cc=usui@mxm.nes.nec.co.jp \
/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).