From: "Yu, Ping Y" Subject: RE: only one CPU is detected when dom0 boots up Date: Fri, 26 May 2006 07:00:31 +0800 Message-ID: <2BF508F394C196468CCBEC031320DCDF014EB591@pdsmsx405> Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Return-path: Content-class: urn:content-classes:message List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ryan Harper Cc: xen-devel@lists.xensource.com, "Zheng, Jeff" List-Id: xen-devel@lists.xenproject.org Harper, Thanks a lot. It works! But the question remains that why change set = 10033=20 could bring up multiple CPUs without hotplug.=20 I notice that there is no change in build configuration since 9980.=20 Ping >-----Original Message----- >From: Ryan Harper [mailto:ryanh@us.ibm.com] >Sent: 2006=C4=EA5=D4=C225=C8=D5 10:44 >To: Yu, Ping Y >Cc: Zheng, Jeff; xen-devel@lists.xensource.com >Subject: Re: [Xen-devel] only one CPU is detected when dom0 boots up > >* 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