Re: [RFC PATCH 0/4] Gang scheduling in CFS

From: Avi Kivity
Date: Tue Dec 27 2011 - 04:15:49 EST


On 12/27/2011 03:47 AM, Nikunj A Dadhania wrote:
> On Mon, 26 Dec 2011 13:41:04 +0200, Avi Kivity <avi@xxxxxxxxxx> wrote:
> > On 12/26/2011 01:33 PM, Nikunj A Dadhania wrote:
> >
> > > I have enabled the following in my config;
> > >
> > > [root@krm1 linux-tip]# grep X2APIC .config
> > > CONFIG_X86_X2APIC=y
> > > [root@krm1 linux-tip]#
> > >
> > > And booted the kernel with "apic=verbose" command.
> > >
> > > [root@krm1 linux-tip]# dmesg | grep -i x2apic
> > > [root@krm1 linux-tip]#
> > >
> > > Does not give anything. I safely assumed that x2apic is not
> > > supported. Is there something to do in the bios to enable this?
> >
> > Sorry, I was imprecise. Boot the guest, it will recognize the emulated
> > x2apic.
> >
> I booted the guest with -cpu ...,+x2apic (using libvirt), and verified
> that qemu command-line does contain x2apic.
>
> There is a log saying this:
>
> Using CPU model
> "Nehalem,+rdtscp,+x2apic,+dca,+xtpr,+tm2,+est,+vmx,+ds_cpl,+monitor,+pbe,+tm,+ht,+ss,+acpi,+ds,+vme"
>
> Though in the guest dmesg, I still do not see any x2apic logs. I am
> missing something obvious here.
>

Check that X2APIC is enabled in the guest .config, as well as
CONFIG_KVM_GUEST.

--
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/