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

[Xen-devel] what's the relationship between writable page and update_va_mapping?


  • To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: weiming <zephyr.zhao@xxxxxxxxx>
  • Date: Sat, 29 Mar 2008 23:47:44 -0400
  • Delivery-date: Sat, 29 Mar 2008 20:48:10 -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=IY7/C6busIbstJLnMr5XFt9bwNeNCewNSOonY7jsG4MbHYUkvMiKjAbbW+MxCJ/W8It73UfSlhRWHoWuAji8FcDa6Lf44MGJPbmhxh8BDLlpUmrsXdj7SIM5AdQh3ULnTZZ1ie3KPWrptnLL7vt38cjthZCXll8m84Ey65qu9vs=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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

 


Rackspace

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