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

Re: [Xen-devel] WP flag in CR0, setting




On 14 Jun 2006, at 13:52, Simon Kagstrom wrote:

I have a slight problem in my guest port with the WP bit in CR0. The
original kernel maps certain kernel pages to user-mode read-only and
relies on the kernel being able to modify these despite the read-only
bit being set in the pages. This in turn requires that the WP bit is
unset in CR0.

We can't support this. We rely on write protection for all sorts of things (e.g., prevent guest write access to page tables). You'll have to temporarily make the mapping writable, or make a kernel-private writable mapping.

 -- Keir


_______________________________________________
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®.