From: "Jan Beulich" Subject: Re: [PATCH] x86: make the dom0_max_vcpus option more flexible Date: Tue, 11 Sep 2012 08:05:17 +0100 Message-ID: <504EFECD020000780009A69C@nat28.tlf.novell.com> References: <1347298015-6761-1-git-send-email-david.vrabel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1347298015-6761-1-git-send-email-david.vrabel@citrix.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: David Vrabel Cc: xen-devel List-Id: xen-devel@lists.xenproject.org >>> On 10.09.12 at 19:26, David Vrabel wrote: > From: David Vrabel > > The dom0_max_vcpus command line option only allows the exact number of > VCPUs for dom0 to be set. It is not possible to say "up to N VCPUs > but no more than the number physically present." > > Allow a range for the option to set a minimum number of VCPUs, and a > maximum which does not exceed the number of PCPUs. > > For example, with "dom0_max_vcpus=4-8": > > PCPUs Dom0 VCPUs > 2 4 > 4 4 > 6 6 > 8 8 > 10 8 > > Existing command lines with "dom0_max_vcpus=N" still work as before > (and are equivalent to dom0_max_vcpus=N-N). > > Signed-off-by: David Vrabel > Acked-by: Jan Beulich > --- > Changes since v2: > - none, repost for Xen 4.3 Thanks for resending - it didn't get lost, just didn't get around to apply it yet as I first wanted to have it in my local tree for a short while. Jan