From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752588AbeB0Jna (ORCPT ); Tue, 27 Feb 2018 04:43:30 -0500 Received: from mail.skyhub.de ([5.9.137.197]:43810 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752444AbeB0Jn0 (ORCPT ); Tue, 27 Feb 2018 04:43:26 -0500 Date: Tue, 27 Feb 2018 10:43:03 +0100 From: Borislav Petkov To: Wanpeng Li Cc: Paolo Bonzini , linux-kernel@vger.kernel.org, kvm@vger.kernel.org, Radim =?utf-8?B?S3LEjW3DocWZ?= , Liran Alon , Nadav Amit Subject: Re: [PATCH v4] KVM: X86: Allow userspace to define the microcode version Message-ID: <20180227094303.GA30022@pd.tnic> References: <1519698910-4272-1-git-send-email-wanpengli@tencent.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.9.3 (2018-01-21) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 27, 2018 at 09:38:12AM +0100, Paolo Bonzini wrote: > On 27/02/2018 03:35, Wanpeng Li wrote: > > From: Wanpeng Li > > > > 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 > > don't check that they are running virtualized (i.e., they should trust the > > hypervisor) from disabling features that are effectively not buggy. > > > > Suggested-by: Filippo Sironi > > Cc: Paolo Bonzini > > Cc: Radim Krčmář > > Cc: Liran Alon > > Cc: Nadav Amit > > Signed-off-by: Wanpeng Li > > --- > > v3 -> v4: > > * add the shifts back > > Please wait for a review instead of pushing new versions continuously. ... and pls CC me on your submissions. Thx. -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.