All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zhang Haoyu <zhhy.zhanghaoyu@gmail.com>
To: Andrey Korolyov <andrey@xdel.ru>
Cc: qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [question] How to get the guest physical memory usage from host?
Date: Tue, 23 Dec 2014 10:06:58 +0800	[thread overview]
Message-ID: <5498CE42.4040509@gmail.com> (raw)
In-Reply-To: <CABYiri9N04+gm6rerbf53b03m1zzPb6FE2YhBW0XdzmLZMNNkQ@mail.gmail.com>


On 2014/12/22 17:33, Andrey Korolyov wrote:
>> Yes, it should depends on guest os implementation,
>> because physical memory is managed by OS, which have the full knowledge of memory usage,
>> so I'm afraid that windows dose not friendly support it.
>> Could you detail the peeking techniques mentioned above?
>>
>> Thanks,
>> Zhang Haoyu
> 
> Generally I meant virDomainMemoryPeek, but nothing prevents you to
> write code with same functionality, if libvirt usage is not preferred,
> it is only about asking monitor for chunks of memory and parse them in
> a proper way.
> 
Thanks, Andrey.

  reply	other threads:[~2014-12-23  2:07 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 [this message]
2015-01-03  0:41   ` Richard W.M. Jones

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=5498CE42.4040509@gmail.com \
    --to=zhhy.zhanghaoyu@gmail.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.