From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43956) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y2yoe-0003gw-76 for qemu-devel@nongnu.org; Mon, 22 Dec 2014 03:58:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y2yoW-0007S4-Nz for qemu-devel@nongnu.org; Mon, 22 Dec 2014 03:58:12 -0500 Received: from mail-pd0-f193.google.com ([209.85.192.193]:35624 helo=pdbft15) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y2yoW-0007Rr-JI for qemu-devel@nongnu.org; Mon, 22 Dec 2014 03:58:04 -0500 Received: by pdbft15 with SMTP id ft15so4536559pdb.2 for ; Mon, 22 Dec 2014 00:58:04 -0800 (PST) Message-ID: <5497DD11.8040101@gmail.com> Date: Mon, 22 Dec 2014 16:57:53 +0800 From: Zhang Haoyu MIME-Version: 1.0 References: <5497972A.4040203@gmail.com> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [question] How to get the guest physical memory usage from host? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Andrey Korolyov Cc: qemu-devel On 2014/12/22 16:41, Andrey Korolyov wrote: > On Mon, Dec 22, 2014 at 6:59 AM, Zhang Haoyu 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