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-api

Re: [Xen-API] Setting pcpu mapping using API

To: Tom Wilkie <tom.wilkie@xxxxxxxxx>
Subject: Re: [Xen-API] Setting pcpu mapping using API
From: Saurabh Garg <saurabh.g.garg@xxxxxxxxxx>
Date: Thu, 12 Jul 2007 15:29:09 +0530
Cc: xen-api@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 12 Jul 2007 02:57:22 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <06774390-4A3D-423D-83FC-989DF7EE2BD6@xxxxxxxxx>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
References: <4695D9D8.9080400@xxxxxxxxxx> <06774390-4A3D-423D-83FC-989DF7EE2BD6@xxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.12 (Windows/20070509)
Thanks Tom,

Does it mean that it can be set only when the vm is running ? During creation time, it is possible to set cap and weight in the VCPU_params field, so if I set the cpumap values also, will this be effective ?

I guess if I'm not able to set it during the creation time, once the VM is created, I'll set it before starting the vm... will that work...

Thanks,
Saurabh.

Tom Wilkie wrote:
Yes

If you look at the VCPU_params(_live) field of the VM class you can put a key "cpumap_$" ($ = vcpu num) with the value as a comma seperated list of physical CPUs.

Cheers

Tom

On 12 Jul 2007, at 08:35, Saurabh Garg wrote:

Hi,

With the 3.1 Xen API(s), is it possible to set the vcpu to pcpu(physical cpu) mapping configuration.

Thanks,
Saurabh.
_______________________________________________
xen-api mailing list


_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api