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: Zhang Haoyu
Subject: Re: [Qemu-devel] [question] How to get the guest physical memory usage from host?
Date: Mon, 22 Dec 2014 17:22:45 +0800
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Thunderbird/31.3.0

On 2014/12/22 17:16, Andrey Korolyov wrote:
> On Mon, Dec 22, 2014 at 11:57 AM, Zhang Haoyu <address@hidden> wrote:
>>
>> On 2014/12/22 16:41, 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?
>>>
>> In some cases, we are not permitted to install anything in customer's guest 
>> environment.
>>
>> Thanks,
>> Zhang Haoyu
> 
> Ok, looks like memory peeking techniques are only a choice then. And,
> of course, this approach tends to be less flexible, because it depends
> on a relatively strict requirements for running kernel in a guest.
> 
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



reply via email to

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