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 ? Thanks! -- Xinxin _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel
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.