From: "Richard W.M. Jones" <rjones@redhat.com>
To: Andrey Korolyov <andrey@xdel.ru>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [question] How to get the guest physical memory usage from host?
Date: Sat, 3 Jan 2015 00:41:30 +0000 [thread overview]
Message-ID: <20150103004130.GB9693@redhat.com> (raw)
In-Reply-To: <CABYiri-mpE_qD7EpFJeYuvyCz1-qfr9YhCw=JXv9WZ9a2-9DMQ@mail.gmail.com>
On Mon, Dec 22, 2014 at 12:41:45PM +0400, Andrey Korolyov wrote:
> On Mon, Dec 22, 2014 at 6:59 AM, Zhang Haoyu <zhhy.zhanghaoyu@gmail.com> wrote:
> > Hi,
> >
> > How to get the guest physical memory usage from host?
> > I don't want to introduce a guest-agent to get the info.
> >
> > Thanks,
> > Zhang Haoyu
> >
>
> There`s probably one approach, simular to (currently abandoned)
> virt-dmesg, via peeking to the guest memory directly. What are reasons
> for not leaving this task to agent, as it looks much simpler?
Fixing virt-dmesg might be better since it has the machinery already
for talking to libvirt and accessing the guest kernel memory.
Of course there is approx zero chance that this approach will work
for Windows guests.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW
prev parent reply other threads:[~2015-01-03 0:41 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-22 3:59 [Qemu-devel] [question] How to get the guest physical memory usage from host? Zhang Haoyu
2014-12-22 8:41 ` Andrey Korolyov
2014-12-22 8:57 ` Zhang Haoyu
2014-12-22 9:16 ` Andrey Korolyov
2014-12-22 9:22 ` Zhang Haoyu
2014-12-22 9:33 ` Andrey Korolyov
2014-12-23 2:06 ` Zhang Haoyu
2015-01-03 0:41 ` Richard W.M. Jones [this message]
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=20150103004130.GB9693@redhat.com \
--to=rjones@redhat.com \
--cc=andrey@xdel.ru \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.