On 07/12/15 09:16, Huaitong Han wrote:
> +
> +    /* PKRU dom0 is always zero */
> +    if ( likely(!pte_pkeys) )
> +        return 0;

This is not an architectural restriction (as far as I can tell).  Xen
must never make assumptions about how a guest chooses to use a feature.

~Andrew

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

Reply via email to