Received: from eggs.gnu.org ([208.118.235.92]:54555) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TrEkL-0001yc-Jk for qemu-devel@nongnu.org; Fri, 04 Jan 2013 16:24:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TrEkJ-000337-Nd for qemu-devel@nongnu.org; Fri, 04 Jan 2013 16:24:09 -0500 Received: from mx1.redhat.com ([209.132.183.28]:25116) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TrEkJ-00032p-Gt for qemu-devel@nongnu.org; Fri, 04 Jan 2013 16:24:07 -0500 Date: Fri, 4 Jan 2013 19:25:43 -0200 From: Eduardo Habkost Message-ID: <20130104212543.GA26746@otherpad.lan.raisama.net> References: <1357311145-16410-1-git-send-email-ehabkost@redhat.com> <1357311145-16410-2-git-send-email-ehabkost@redhat.com> <20130104210216.GA24891@otherpad.lan.raisama.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130104210216.GA24891@otherpad.lan.raisama.net> Subject: Re: [Qemu-devel] [PATCH 1/2] target-i386: Don't set any KVM flag by default if KVM is disabled List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Blue Swirl Cc: kvm@vger.kernel.org, Gleb Natapov , "Michael S. Tsirkin" , Marcelo Tosatti , qemu-devel@nongnu.org, Igor Mammedov , Andreas =?iso-8859-1?Q?F=E4rber?= On Fri, Jan 04, 2013 at 07:02:17PM -0200, Eduardo Habkost wrote: > On Fri, Jan 04, 2013 at 08:47:07PM +0000, Blue Swirl wrote: > > > { > > > - kvm_default_features |= kvm_pv_eoi_features; > > > +#ifdef CONFIG_KVM > > > + if (kvm_enabled()) > > > > Missing braces, please read CODING_STYLE and use checkpatch.pl to find > > problems in patches. > > Sorry (again). I will soon send a new version fixing the coding style > problems. checkpatch.pl is behaving weirdly, here: $ git show 193e2f6 | grep 'if (kvm' + if (kvm_enabled()) $ git show 193e2f6 | ./scripts/checkpatch.pl - total: 0 errors, 0 warnings, 19 lines checked Your patch has no obvious style problems and is ready for submission. $ -- Eduardo