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] 0/2 VCPU creation and allocation

To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>, "Ryan Harper" <ryanh@xxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH] 0/2 VCPU creation and allocation
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Mon, 10 Oct 2005 16:31:04 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, ewan@xxxxxxxxxxxxx
Delivery-date: Mon, 10 Oct 2005 15:28:27 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcXNrubJ478mMqwvRH2YTbYNDjg3ZAAACR7g
Thread-topic: [Xen-devel] [PATCH] 0/2 VCPU creation and allocation
> > Also included is a new VCPUOP,
> > VCPUOP_create, which handles all of the vcpu creation tasks 
> and leaves 
> > initialization and unpausing to VCPUOP_initialize.
> 
> I think two new Xen operations is one too many.
> 
> Either we should take set_max_vcpus, and have that implicitly 
> do the work of VCPUOP_create, or we should take VCPUOP_create 
> (callable only by domain0) and have that implicitly increase 
> max_vcpus for the subject domain.

While we're at it, let's clean up the xm commands too. I tihnk its
pointless letting the user specify the vcpu they want to enable/disable.
Let's change the command names to vcpu-add / vcpu-remove and have them
work on the lowest numbered free vcpu in the case of vcpu-add and the
highest currently active in the case of vcpu-remove.

 
Ian

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