WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Is it possible to change a guest domain's page table in Dom0's user space?
From: weiming <zephyr.zhao@xxxxxxxxx>
Date: Thu, 20 Mar 2008 14:58:47 -0400
Delivery-date: Thu, 20 Mar 2008 11:59:13 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=2vsPTujD+Z7fwRMSXRj6+jzNp2T3jCKG+YeeUIBRbvE=; b=gJbv3uxpwTqlN+eWjIPIE8/lPJ9wqA2tT3Mkn9P3dNXhgsu/SGq4Yws+65chnGhx0LBGcSo9EztJYUYzZKVhNi40XxWeOWA+WUQTmLaxrbOn6rrvlKOPUH64qc0d9iA0gzIiyyyv/llUP06v4YwJx1QzpBvaA8BUOG1wAQmm94I=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Is it possible to change a guest domain's page table in Dom0's user space?, weiming <=