From: Ryan Harper Subject: Re: only one CPU is detected when dom0 boots up Date: Thu, 25 May 2006 12:43:52 -0500 Message-ID: <20060525174352.GE1694@us.ibm.com> References: <2BF508F394C196468CCBEC031320DCDF014EB53A@pdsmsx405> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <2BF508F394C196468CCBEC031320DCDF014EB53A@pdsmsx405> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Yu, Ping Y" Cc: xen-devel@lists.xensource.com, "Zheng, Jeff" List-Id: xen-devel@lists.xenproject.org * Yu, Ping Y [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. -- Ryan Harper Software Engineer; Linux Technology Center IBM Corp., Austin, Tx (512) 838-9253 T/L: 678-9253 ryanh@us.ibm.com