qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [question] How to get the guest physical memory usage f


From: Richard W.M. Jones
Subject: Re: [Qemu-devel] [question] How to get the guest physical memory usage from host?
Date: Sat, 3 Jan 2015 00:41:30 +0000
User-agent: Mutt/1.5.20 (2009-12-10)

On Mon, Dec 22, 2014 at 12:41:45PM +0400, Andrey Korolyov wrote:
> On Mon, Dec 22, 2014 at 6:59 AM, Zhang Haoyu <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]