Displaying 2 results from an estimated 2 matches for "maxvcpu".
Did you mean:
maxvcpus
2012 May 04
1
maxvcpu
hi,
i am trying to find out the max vcpus supported for any domain by my hypervisor, however i am having some trouble with the below:
vcpu=5
maxvcpus=libvirt.virConnect.getMaxVcpus(conn,'kqemu')
if maxvcpus <= vcpu:
logging.debug('checkmaxvcpus: max vcpus on hypervisor %i is less than requested vcpu of %i' % (maxvcpus, vcpu))
return 0
else:
return 1
http://libvirt.org/html/libvirt-libvirt.html#virConnectGetMaxVcpus says that...
2011 Mar 17
0
Squeeze / Xen 4.01 : xm vcpu-set
Hi,
I don''t understand something about the vcpu-set function.
My configuration:
*memory = 2048
cpu = ''1-2''
maxvcpu = 4
vcpus = 1*
When the DomU is running, and when i try to set 2 or 3 vpcu i get the error
:
xm vcpu-set domain_name 2
*Error: Cannot set vcpus greater than max vcpus on running domain
Usage: xm vcpu-set <Domain> <vCPUs>
Set the number of active VCPUs for allowed for the domain*
Wh...