From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tim Deegan Subject: Re: Where is PV's root page table? Date: Thu, 11 Oct 2012 10:00:15 +0100 Message-ID: <20121011090015.GA53661@ocelot.phlegethon.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Xinxin Jin Cc: Xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Hi, At 10:02 -0700 on 05 Oct (1349431352), Xinxin Jin wrote: > Hi, I want to manually walk guest's page table in Xen, but I cannot find > where the base address of the guest root page table is defined. Could > anyone give me some clue ? You should use or copy the pagetable walkers that are already in Xen. >>From dom0 userspace, look at xc_translate_foreign_address(); inside Xen, look at, e.g. sh_walk_guest_tables(). Tim.