WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Xen hypervisor dom0_vcpus option broken in Xen 3.4 ?

To: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: Re: [Xen-devel] Xen hypervisor dom0_vcpus option broken in Xen 3.4 ?
From: Andrew Lyon <andrew.lyon@xxxxxxxxx>
Date: Wed, 13 Jan 2010 21:47:38 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 13 Jan 2010 13:48:08 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=OhEbUrLSxprTe59rRJQxQWIWVDD2AzZju39hlkJvXu4=; b=EZ3H5VKP1j6ut+9X0bCIESVD5H/F00WU+fplWi88FoP241Dz9eqGnDMbmYrXsjHhLo iF9bwl45tz99nt0FWSShdrG4F1Mv7Us+otRSES65w32EwHqZGLdw21nlfx/yv/vKyKl4 ToW+WQx2iOr71ARou6dd4eB5fSwO0mKbTB/ow=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=CTObQ6QxhwSzxSNP+NxCWUuBBo0OK8o1tg25D3YiDjrHVIdILr4KuJ/aDiyAjEumrM p+5KSXvgCTwAUhQ43XHHjCjNF+JqYecE/ZNTSTpb+SDa0BN7xnC4vgTNo1o4acblOln+ j4Eb+YatCqIY41brcV8yCo/M+Jp4f66UGPR8Q=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <f4527be1001131338u60bbdd3fj4257fe7973f0225d@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20100113203626.GT25902@xxxxxxxxxxx> <f4527be1001131338u60bbdd3fj4257fe7973f0225d@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Wed, Jan 13, 2010 at 9:38 PM, Andrew Lyon <andrew.lyon@xxxxxxxxx> wrote:
> On Wed, Jan 13, 2010 at 8:36 PM, Pasi Kärkkäinen <pasik@xxxxxx> 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 (RedHat 
>> 4.4.2-7) (GCC) ) Mon Dec 14 06:53:18 EET 2009
>> (XEN) Latest ChangeSet: unavailable
>> (XEN) Command line: dom0_mem=1G loglvl=all guest_loglvl=all com1=38400,8n1 
>> console=com1 dom0_vcpus=1
>> ..
>> (XEN) Dom0 has maximum 4 VCPUs
>> ..
>>
>> Has dom0_vcpus option name changed, or is it just broken?
>>
>> -- Pasi
>>
>>
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@xxxxxxxxxxxxxxxxxxx
>> 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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel