Skip to contentSkip to conversation

Is it possible to change a guest domain's page table in Dom0's user space?

DISCUSSION weiming 1 participant 1 message Mar 20, 2008

lore
Share & tools
lore

weiming

author
#0 lore raw

Hi,

I'm doing some experiments under x86_64 PV domains.

I want to change a page table of some process in a guest domain. And for easier programming, I want to do this in dom0 via libxc.

Now I can get the guest's kernel structs (like init_task, init_mm) via xc_map_foreign_range with R/W permissions. However, when I try to map the page table directory, I can only use "PROT_READ", otherwise, it gives a "Bad address" error. Why?

any suggestions?

Thanks,
Weiming

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel