On Thu, Mar 12, 2015 at 4:55 PM, Ian Campbell <ian.campb...@citrix.com>
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@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to