Re: [Xen-devel] [PATCH WIP 3/6] xen/arm: get privilege status

From: Stefano Stabellini
Date: Thu Jul 12 2012 - 13:44:19 EST


On Mon, 9 Jul 2012, Konrad Rzeszutek Wilk wrote:
> On Fri, Jun 22, 2012 at 05:14:42PM +0100, Stefano Stabellini wrote:
> > Use Xen features to figure out if we are privileged.
>
> Is there a corresponding Xen c/s for the XNEFEAT_dom0?

Yes, that would be 23735
(http://xenbits.xensource.com/hg/xen-unstable.hg/rev/537918f518ee).

> Why can't the existing SIF_PRIVILIGED call work? Isn't that
> somethign that the hypervisor sets for the guest?

SIF_PRIVILIGED is in the start_info page that ARM guests don't have.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/