From: Tim Deegan Subject: Re: [PATCH 3/3] x86/HVM: make hvm_efer_valid() honor guest features Date: Thu, 8 Jan 2015 16:56:07 +0100 Message-ID: <20150108155607.GD5043@deinos.phlegethon.org> References: <54AEAD2C0200007800052B56@mail.emea.novell.com> <54AEAEFD0200007800052B81@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Y9FRU-0003fR-NW for xen-devel@lists.xenproject.org; Thu, 08 Jan 2015 15:56:12 +0000 Content-Disposition: inline In-Reply-To: <54AEAEFD0200007800052B81@mail.emea.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich Cc: xen-devel , Keir Fraser List-Id: xen-devel@lists.xenproject.org At 15:23 +0000 on 08 Jan (1420727005), Jan Beulich wrote: > + if ( (value & EFER_LMSLE) && !cpu_has_lmsl ) > + return 0; I see this bit has no CPUID flag, and the docs don't seem to suggest that it would ever not be valid. Are there real CPUs where it can't be set? My reviewed-by: stands anyway as this is an improvement over the current code. Just wondering whether this needs to go on the list of interesting edge cazses for Andrew's feature-levelling rewrite. Cheers, Tim.