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] what's the relationship between writable page and update_va_

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] what's the relationship between writable page and update_va_mapping?
From: weiming <zephyr.zhao@xxxxxxxxx>
Date: Sat, 29 Mar 2008 23:47:44 -0400
Delivery-date: Sat, 29 Mar 2008 20:48:10 -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=HI6SZuKOO6nYXaoUuH00n+yrteryx0O84dDfGKc/8L8=; b=WGIjWI4icCH0y9SKMKJ2nKe/thAjfqOykb8Hu3e1t2iYBWXkJ5EhvBJnypXslxcuMZG9xvBNAxZ/B1Y0tW7nvmEOGE4p7FNvIL8jV888S9KFVTEcg2anjjNFcqZTlciu6+0rMVLMJ01HSiDjusPQ2+1NZtNYOC7P/EsAPYL3wcE=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:mime-version:content-type; b=IY7/C6busIbstJLnMr5XFt9bwNeNCewNSOonY7jsG4MbHYUkvMiKjAbbW+MxCJ/W8It73UfSlhRWHoWuAji8FcDa6Lf44MGJPbmhxh8BDLlpUmrsXdj7SIM5AdQh3ULnTZZ1ie3KPWrptnLL7vt38cjthZCXll8m84Ey65qu9vs=
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 running pv x86_64 linux under xen.

When I read the source code of the pv linux, I find that it use update_va_mapping and mmu_update to modify the page table.

However, with the writable page table mechanism, why do we need those explicit hypercalls to modify page table? In my understanding, when the guest tries to modify the page table entry, such attempts will be captured by "ptwr_do_page_fault" and then verified.

Please help to clarify my puzzle. :S

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] what's the relationship between writable page and update_va_mapping?, weiming <=