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

[Xen-devel] Re: [Xen-API] api calls to update nvcpus and memory

To: Seila Garcia <seila.garcia@xxxxxx>
Subject: [Xen-devel] Re: [Xen-API] api calls to update nvcpus and memory
From: Christopher Winslett <christopherwinslett@xxxxxxxxx>
Date: Fri, 30 Oct 2009 09:52:23 -0500
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "xen-api@xxxxxxxxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 02 Nov 2009 08:40:11 -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 :from:date:message-id:subject:to:cc:content-type; bh=ihk72CpU7n78/e9G7x04cB+xsq/4dy6V1OEJfBYGvUA=; b=Z5CyLmWN+d10NfyGX6vuehowsph+YvObx1ZUpNK27EVvhUq29vYoVbuRWV4UrKXwx1 bgxmuUVMqd9xnoRaAgG+xEXyTGIS/dmJZSimBsZWQ66woFzCUOQrgZBoJgcIyiAFRGj4 xUp9w4EMcEyUqetHfsP0ZAEnbhoFNehgr8okQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=GuCputRY3N8I9sqweD4ToVXmyI+MjFG1WzGOR203Oq2AOUxgKFxj8ER1Rg29M3lu3j joBOQuAD8BC9dykgjrCLEtET7YctK5+QKlFTx9fXdl/hmznaA9Y+L/dNn49tt0IEik2n KvgvagZ3vPGcQDuiRWlfi1sXng0qA/aHsow6k=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <22C8FDE46E761F498ADAFC45D1C392E30371F52C4692@xxxxxxxxxxxxxxx>
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: <22C8FDE46E761F498ADAFC45D1C392E30371F52C4692@xxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
I've found you have to do the following:

For Memory:
set_memory_static_max
set_memory_dynamic_max

For CPU:
set_VCPUs_max
set_VCPUs_number

cw

On Fri, Oct 30, 2009 at 3:38 AM, Seila Garcia <seila.garcia@xxxxxx> wrote:
Hi,
 
i want to changes nvcpus number and memory amount form API, what functions shall i use?
 
i tried to call set_VCPUs_at_startup function, it returns success, but the VM vcpus number is not changed.
 
same problem to upgrade ram, i tried set_memory_dynamic_max_live, set_memory_dynamic_min_live, set_memory_static_max and set_memory_static_min without success.
 
how can i change this parameters  from API?
 
Tahnks very much.
 
Seila Garcia

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




--
Christopher Winslett
christopherwinslett@xxxxxxxxx
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Re: [Xen-API] api calls to update nvcpus and memory, Christopher Winslett <=