Hi all,
I'm using the set_VCPUs_number_live function in the VM class to change the
CPU allocation for a give VM.(Correct me If I'm wrong.)
The problem is that It executes successfully without any error but the
number of VCPUs for the VM remain unchanged.
$xentop
* NAME VCPUS*
12 --b--- 4
Domain-0 -----r 4
*>>> vms = session.xenapi.VM.get_by_name_label('12')
>>> session.xenapi.VM.set_VCPUs_number_live (vms[0],'3')*
$xentop
* NAME VCPUS*
12 --b--- 4
Domain-0 -----r 4
If I wanted to change the CPU allocation for a VM while runtime, how should
I do it.
Please kindly help with this issue.
Thank You.
Rama Rajesh.
_______________________________________________
xen-api mailing list
[email protected]
http://lists.xensource.com/mailman/listinfo/xen-api