Re: [Xen-devel] [PATCH 8/9] x86/rtc: replace paravirt_enabled() check with subarch check

From: Luis R. Rodriguez
Date: Fri Feb 19 2016 - 09:48:48 EST


On Fri, Feb 19, 2016 at 02:22:12PM +0100, Juergen Gross wrote:
> On 19/02/16 14:08, Luis R. Rodriguez wrote:
> > The current check is a super long winded way of asking if this
> > is on lguest. The flags is used for legacy features, this is
>
> What about Xen pv-domU? I wouldn't expect those to have PV_SUPPORTED_RTC
> set.

Hrm, I see -- how do we check for that in a standard more clean way?

Luis