search for: getmaxvcpus

Displaying 2 results from an estimated 2 matches for "getmaxvcpus".

Did you mean: get_max_vcpus
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 i need: conn:pointer to the hy...
2010 Feb 03
1
[libvirt] [LXC] Tyring to locate livbvirt operations for LXC relocation
...virDrvNo */ "LXC", /* the name of the driver */ lxcOpen, /* open */ lxcClose, /* close */ NULL, /* supports_feature */ NULL, /* type */ lxcVersion, /* version */ NULL, /* libvirtVersion (impl. in libvirt.c) */ virGetHostname, /* getHostname */ NULL, /* getMaxVcpus */ nodeGetInfo, /* nodeGetInfo */ lxcGetCapabilities, /* getCapabilities */ lxcListDomains, /* listDomains */ lxcNumDomains, /* numOfDomains */ lxcDomainCreateAndStart, /* domainCreateXML */ lxcDomainLookupByID, /* domainLookupByID */ lxcDomainLookupByUUID, /* domainLook...