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: Mukesh Rathor <mukesh.rathor@xxxxxxxxxx>
Subject: [Xen-devel] Re: HYBRID: set_page_prot() (make pte readonly)
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Date: Fri, 07 Oct 2011 08:46:52 -0700
Cc: "Xen-devel@xxxxxxxxxxxxxxxxxxx" <Xen-devel@xxxxxxxxxxxxxxxxxxx>, stefano.stabellini@xxxxxxxxxxxxx
Delivery-date: Fri, 07 Oct 2011 08:47:32 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20111006191241.0866625f@xxxxxxxxxxxxxxxxxxxx>
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>
References: <20111006191241.0866625f@xxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110930 Thunderbird/7.0.1
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

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