Re: [Xen-devel] [PATCH] x86/amd: don't set X86_BUG_SYSRET_SS_ATTRS if forced to zero

From: Borislav Petkov
Date: Tue Apr 25 2017 - 16:27:42 EST


On Tue, Apr 25, 2017 at 09:17:13PM +0100, Andrew Cooper wrote:
> The problem (for all ring-deprivileged virtuailsation; not just Xen PV),
> is that

I know what that that bug flag is for.

I'm asking whether the xen guest boot sets a flag early - like XENPV,
for example - which can differentiate between baremetal and virt boot in
a fairly generic manner so that we don't set that bug flag then instead
of the set and then clear dance we do currently.

--
Regards/Gruss,
Boris.

Good mailing practices for 400: avoid top-posting and trim the reply.