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

Re: [Xen-devel] HYBRID: set_page_prot() (make pte readonly)

To: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Subject: Re: [Xen-devel] HYBRID: set_page_prot() (make pte readonly)
From: Mukesh Rathor <mukesh.rathor@xxxxxxxxxx>
Date: Fri, 7 Oct 2011 10:55:55 -0700
Cc: Fitzhardinge <jeremy@xxxxxxxx>, "Xen-devel@xxxxxxxxxxxxxxxxxxx" <Xen-devel@xxxxxxxxxxxxxxxxxxx>, Jeremy, Stefano Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>
Delivery-date: Fri, 07 Oct 2011 10:56:54 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1317974289.21903.287.camel@xxxxxxxxxxxxxxxxxxxxxx>
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> <1317974289.21903.287.camel@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Fri, 7 Oct 2011 08:58:09 +0100
Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:

> Do you have something functional without EPT? I appreciate that this
> is just a stepping stone to the final functionality but it might be
> worth starting to post those patches? It would be a useful baseline
> for others to start looking at additional features/optimisations on
> top of etc.

Hi Ian,

Please see my previous posts with patches attached for hybrid without
EPT. Search for HYBRID in subject.

> Do you do this by stubbing out the hypercalls (e.g. via a VDSO type
> thing in guest address space) or are you cutting off the PV MMU stuff
> at start of day using XENFEAT_autotranslated_physmap and/or
> XENFEAT_writeable_*? Or some other option?

I'm cutting off PV MMU stuff with XENFEAT_auto_translated_physmap.

> > 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. 
> 
> You can just omit it altogether if XENFEAT_writeable_pagetables is
> set?

Right. 

thanks,
Mukesh


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