Hi! Documentation/kvm/api.txt says the following: 4.6 KVM_CREATE_VCPU Capability: basic Architectures: all Type: vm ioctl Parameters: vcpu id (apic id on x86) Returns: vcpu fd on success, -1 on error This API adds a vcpu to a virtual machine. The vcpu id is a small integer in the range [0, max_vcpus). However, max_vcpus is not specified and I am unable to find ioctl() which I could use to look it up. Is it specified somewhere? We can, of course, attempt to create as many VCPUs as possible until KVM_CREATE_VCPU returns EINVAL... Pekka -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html