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

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



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


 


Rackspace

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