From: Mukesh Rathor Subject: Re: HYBRID: set_page_prot() (make pte readonly) Date: Fri, 7 Oct 2011 10:57:06 -0700 Message-ID: <20111007105706.670b646a@mantra.us.oracle.com> References: <20111006191241.0866625f@mantra.us.oracle.com> <4E8F1EEC.9000205@goop.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4E8F1EEC.9000205@goop.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jeremy Fitzhardinge Cc: "Xen-devel@lists.xensource.com" , stefano.stabellini@eu.citrix.com List-Id: xen-devel@lists.xenproject.org On Fri, 07 Oct 2011 08:46:52 -0700 Jeremy Fitzhardinge wrote: > On 10/06/2011 07:12 PM, Mukesh Rathor wrote: > > So, I'm at a loss on how to make set_page_prot() work during > > xen_map_identity_early(). I tried few things, but no luck. The > > fixmap is not setup during this time, so can't use that. > > > > Have any ideas? > > Why do you need set_page_prot() at all? It's only being used to mark > pagetable entries RO, but you presumably don't need to do that with > EPT. > > J Yes, you are right, with EPT I wouldn't need to do that. thanks Mukesh