From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ingo Molnar Subject: Re: [PATCH] enable x2APIC without interrupt remapping under KVM Date: Sun, 19 Jul 2009 19:59:14 +0200 Message-ID: <20090719175914.GA27205@elte.hu> References: <20090719114411.GN5638@redhat.com> <20090719162735.GB19434@elte.hu> <20090719164059.GC14176@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Suresh Siddha , "linux-kernel@vger.kernel.org" , Sheng Yang , "kvm@vger.kernel.org" , "avi@redhat.com" To: Gleb Natapov Return-path: Received: from mx2.mail.elte.hu ([157.181.151.9]:43530 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754574AbZGSR70 (ORCPT ); Sun, 19 Jul 2009 13:59:26 -0400 Content-Disposition: inline In-Reply-To: <20090719164059.GC14176@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: * Gleb Natapov wrote: > On Sun, Jul 19, 2009 at 06:27:35PM +0200, Ingo Molnar wrote: > > > > * Gleb Natapov wrote: > > > > > + if (!ret) { > > > + /* IR is required if there is APIC ID > 255 even when running > > > + * under KVM > > > + */ > > > > Eeek. > > > > > + if (x2apic_preenabled) { > > > + panic("x2apic enabled by bios. But IR enabling failed." > > > + " Check that CONFIG_X86_X2APIC and CONFIG_INTR_REMAP are" > > > + " enabled."); > > > > We dont want to break such messages mid-line, it makes it hard to > > git-grep for them. Also, the '. But' looks weird. > > So what should I do? Make really long line? i'd suggest short ones generally, like: "x2apic: enabled by BIOS but kernel init failed." also, referring to whether the config are enabled is a bit lame - we are in the kernel so we should know whether they are enabled. Ingo