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] [PATCH] vcpu-set increases vcpus beyond the value set at

To: Ryan Grimm <grimm@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] vcpu-set increases vcpus beyond the value set at domain creation
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Thu, 16 Feb 2006 11:49:00 +0000
Cc: Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 16 Feb 2006 11:55:12 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20060215230446.GA12808@xxxxxxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20060215230446.GA12808@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

On 15 Feb 2006, at 23:04, Ryan Grimm wrote:

This patch allows a domain's vcpus to increase beyond the max (up to
CONFIG_NR_CPUS) set at creation time by making 3 changes:

I'd prefer to keep the current Xen mechanisms, but extend xend and/or config file formats so that we can distinguish max_vcpus from initial_vcpus. Currently the two values are conflated. Then you can set max_vcpus as high as you like, but xenstore will tell the guest how many CPUs to bring up during boot.

If we want a 'hard limit' check in Xen (kind of like we have a per-domain memory limit) to ensure that guests do not sneakily bring up CPUs that we didn't ask them to, then we can add that but it's an orthogonal change (i.e., different patch) to what you are trying to do here.

 -- Keir


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

<Prev in Thread] Current Thread [Next in Thread>