Received: from eggs.gnu.org ([2001:4830:134:3::10]:60903) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dBno1-000890-Bt for qemu-devel@nongnu.org; Fri, 19 May 2017 15:43:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dBnnv-0006Ej-Bq for qemu-devel@nongnu.org; Fri, 19 May 2017 15:43:21 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37666) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dBnnv-0006Ef-5X for qemu-devel@nongnu.org; Fri, 19 May 2017 15:43:15 -0400 Date: Fri, 19 May 2017 16:43:12 -0300 From: Eduardo Habkost Message-ID: <20170519194312.GY4748@thinpad.lan.raisama.net> References: <20170509132736.10071-1-berrange@redhat.com> <20170509132736.10071-2-berrange@redhat.com> <20170519145823.lqttcuwxxnj7s2lk@eukaryote> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170519145823.lqttcuwxxnj7s2lk@eukaryote> Subject: Re: [Qemu-devel] [PATCH v4 1/2] i386: rewrite way CPUID index is validated List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kashyap Chamarthy Cc: "Daniel P. Berrange" , qemu-devel@nongnu.org, Paolo Bonzini , Richard Henderson On Fri, May 19, 2017 at 04:58:23PM +0200, Kashyap Chamarthy wrote: > On Tue, May 09, 2017 at 02:27:35PM +0100, Daniel P. Berrange wrote: > > Change the nested if statements into a flat format, to make > > it clearer what validation / capping is being performed on > > different CPUID index values. > > > > NB this changes behaviour when "index > env->cpuid_xlevel2". > > This won't have any guest-visible effect because no there is > > no CPUID[0xC0000001] > > Nit: When applying, maybe the maintainer could fix the typo: > > "because no there is no" -> "because there is no" This was already merged, unfortunately. Thanks for noting that, anyway. -- Eduardo