7 messages in com.xensource.lists.xen-develRe: [Xen-devel] only one CPU is detec...
FromSent OnAttachments
Zheng, Jeff25 May 2006 07:14 
Ryan Harper25 May 2006 07:24 
Yu, Ping Y25 May 2006 09:57 
Ryan Harper25 May 2006 10:43 
Yu, Ping Y25 May 2006 16:00 
Yu, Ping Y25 May 2006 16:21 
Keir Fraser26 May 2006 00:12 
Subject:Re: [Xen-devel] only one CPU is detected when dom0 boots up
From:Ryan Harper (rya@us.ibm.com)
Date:05/25/2006 10:43:29 AM
List:com.xensource.lists.xen-devel

* Yu, Ping Y <ping@intel.com> [2006-05-25 11:59]:

Harper,

You are right! The default build configuration linux-defconfig_xen0_x86_64/ linux-defconfig_xen0_x86_32 is UP, and we have manually changed the default configure to make it SMP. We noticed that "uname -a" shows the dom0's kernel is SMP, but the problem is that only one CPU is found when dom0 boots up. With the same change, we know at least change set 10033 is OK to boot with multiple CPUs.

Make sure CONFIG_HOTPLUG_CPU is also enabled. After having both CONFIG_SMP and CONFIG_HOTPLUG_CPU, try:

xm vcpu-set 0 2

replacing 2 with however many cpu's you think dom0 should have.