xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* Where is PV's root page table?
@ 2012-10-05 17:02 Xinxin Jin
  2012-10-11  9:00 ` Tim Deegan
  0 siblings, 1 reply; 2+ messages in thread
From: Xinxin Jin @ 2012-10-05 17:02 UTC (permalink / raw)
  To: Xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 189 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 226 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Where is PV's root page table?
  2012-10-05 17:02 Where is PV's root page table? Xinxin Jin
@ 2012-10-11  9:00 ` Tim Deegan
  0 siblings, 0 replies; 2+ messages in thread
From: Tim Deegan @ 2012-10-11  9:00 UTC (permalink / raw)
  To: Xinxin Jin; +Cc: 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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-10-11  9:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-05 17:02 Where is PV's root page table? Xinxin Jin
2012-10-11  9:00 ` Tim Deegan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).