[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Is it possible to change a guest domain's page table in Dom0's user space?


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: weiming <zephyr.zhao@xxxxxxxxx>
  • Date: Thu, 20 Mar 2008 14:58:47 -0400
  • Delivery-date: Thu, 20 Mar 2008 11:59:13 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:mime-version:content-type; b=UeV5or2gbjJwtBuMBuBmYD/gwr8STEn1TbmDaHFSlXWUNs4XZ47sU5b97JcIkw7K7fIa3C3iMXHTT8r3JKhigqVxUW7moR2TLJdFRX6Ykn8C6cK2gc6bna9Vlv1f0t4/8huwEwx67FZvbqponTL0nkU/vNVxkQZPdcoIcH6XjxE=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.