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@lists.xensource.com http://lists.xensource.com/mailman/listinfo/xen-api
Christopher Winslett
2009-Oct-30 14:52 UTC
Re: [Xen-API] api calls to update nvcpus and memory
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@ran.es> 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@lists.xensource.com > http://lists.xensource.com/mailman/listinfo/xen-api > >-- Christopher Winslett christopherwinslett@gmail.com _______________________________________________ xen-api mailing list xen-api@lists.xensource.com http://lists.xensource.com/mailman/listinfo/xen-api