* Gleb Natapov <[email protected]> wrote:

> On Sun, Jul 19, 2009 at 06:27:35PM +0200, Ingo Molnar wrote:
> > 
> > * Gleb Natapov <[email protected]> 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
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to