From: Andrew Lyon Subject: Re: Xen hypervisor dom0_vcpus option broken in Xen 3.4 ? Date: Wed, 13 Jan 2010 21:47:38 +0000 Message-ID: References: <20100113203626.GT25902@reaktio.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: =?ISO-8859-1?Q?Pasi_K=E4rkk=E4inen?= Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Wed, Jan 13, 2010 at 9:38 PM, Andrew Lyon wrote: > On Wed, Jan 13, 2010 at 8:36 PM, Pasi K=E4rkk=E4inen wrote= : >> Hello, >> >> while discussing things on xen-users we noticed this: >> >> (XEN) Xen version 3.4.2 (root@(none)) (gcc version 4.4.2 20091027 (RedHa= t 4.4.2-7) (GCC) ) Mon Dec 14 06:53:18 EET 2009 >> (XEN) Latest ChangeSet: unavailable >> (XEN) Command line: dom0_mem=3D1G loglvl=3Dall guest_loglvl=3Dall com1= =3D38400,8n1 console=3Dcom1 dom0_vcpus=3D1 >> .. >> (XEN) Dom0 has maximum 4 VCPUs >> .. >> >> Has dom0_vcpus option name changed, or is it just broken? >> >> -- Pasi >> >> >> _______________________________________________ >> Xen-devel mailing list >> Xen-devel@lists.xensource.com >> http://lists.xensource.com/xen-devel >> > > Looks like it is called dom0_max_vcpus in 3.4.2: > > cat xen-3.4.2.gz |gzip -d | strings | grep cpus | grep dom0 > dom0_vcpus_pin > dom0_max_vcpus > > Andy > Also see this thread http://article.gmane.org/gmane.comp.emulators.xen.devel/69017, which seems to suggest that dom0_max_vcpus is parameter for the Xen hypervisor (xen.gz) itself, while dom0_vcpus is for the dom0 kernel and causes it to hot-unplug the "extra" cpu's so that they can be (re)added later. I believe the xen 2.6.18 kernel also supports booting pv domUs with more max-cpus than active at startup, again so that they can be added later. I guess dom0_vcpus only works with Xen 2.6.18, I can find no trace of it in the openSUSE Xen kernel source. Andy