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

Re: [Xen-devel] [PATCH V13 3/7] xen/arm: Allow hypervisor access to mem_access protected pages





On Thu, Mar 12, 2015 at 4:55 PM, Ian Campbell <ian.campbell@xxxxxxxxxx> wrote:
On Thu, 2015-03-12 at 16:41 +0100, Tamas K Lengyel wrote:

> We could check stage-1 permissions by walking the guest page tables
> and looking at the pte permissions, however I'm not aware of having
> this function implemented within Xen.

The h/w can do this for you, you just need to arrange for gva_to_ipa_par
to select between ATS1CPR and ATS1CPW like gva_to_ma_par does.

Ian.

Thanks, that's simple.

Tamas

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

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