Re: [PATCH] KVM: X86: Allow userspace to define the microcode version

From: Borislav Petkov
Date: Mon Feb 26 2018 - 04:42:18 EST


On Mon, Feb 26, 2018 at 03:23:58PM +0800, Wanpeng Li wrote:
> From: Wanpeng Li <wanpengli@xxxxxxxxxxx>
>
> Linux (among the others) has checks to make sure that certain features
> aren't enabled on a certain family/model/stepping if the microcode version
> isn't greater than or equal to a known good version.
>
> By exposing the real microcode version, we're preventing buggy guests that

Where do we prevent userspace from coming up with some non-sensical
microcode revision?

--
Regards/Gruss,
Boris.

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