From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754193AbbKLLAC (ORCPT ); Thu, 12 Nov 2015 06:00:02 -0500 Received: from mail.skyhub.de ([78.46.96.112]:42641 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754072AbbKLLAA (ORCPT ); Thu, 12 Nov 2015 06:00:00 -0500 Date: Thu, 12 Nov 2015 11:59:58 +0100 From: Borislav Petkov To: Paolo Bonzini Cc: =?utf-8?B?SsO2cmcgUsO2ZGVs?= , kvm ML , lkml Subject: Re: Shut up unhandled MSR warnings Message-ID: <20151112105958.GA3838@pd.tnic> References: <20151112101317.GA3649@pd.tnic> <56446AFD.4030800@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <56446AFD.4030800@redhat.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 12, 2015 at 11:33:33AM +0100, Paolo Bonzini wrote: > Yes, see guest_cpuid_has_* for an example of reading the CPUID values. > > But if it's defined for _all_ models starting at family 21, we can just > do it unconditionally. The thing is, those bits are Reserved again on the next family 22. Lemme take a look at guest_cpuid_has_* and see how ugly it gets. Thanks. -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply.