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

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

At Wed, 14 Jun 2006 14:00:16 +0100,
Keir Fraser wrote:
> 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.

Thanks for the explanation. Would the WP flag work in a HVM setting?

// Simon

Xen-devel mailing list



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