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] Re: HYBRID: set_page_prot() (make pte readonly)

To: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Subject: [Xen-devel] Re: HYBRID: set_page_prot() (make pte readonly)
From: Mukesh Rathor <mukesh.rathor@xxxxxxxxxx>
Date: Fri, 7 Oct 2011 10:57:06 -0700
Cc: "Xen-devel@xxxxxxxxxxxxxxxxxxx" <Xen-devel@xxxxxxxxxxxxxxxxxxx>, stefano.stabellini@xxxxxxxxxxxxx
Delivery-date: Fri, 07 Oct 2011 10:58:45 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4E8F1EEC.9000205@xxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: Oracle Corporation
References: <20111006191241.0866625f@xxxxxxxxxxxxxxxxxxxx> <4E8F1EEC.9000205@xxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Fri, 07 Oct 2011 08:46:52 -0700
Jeremy Fitzhardinge <jeremy@xxxxxxxx> 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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel