[libvirt] Re: [Libvir] [PATCH] Implement SetVcpus and DomainGetMaxVcpus for qemu

2008-05-07 Thread Daniel Veillard
On Tue, May 06, 2008 at 12:35:12PM -0400, Cole Robinson wrote: Cole Robinson wrote: The attached patch fills in two of the vcpu functions for the qemu driver: virDomainSetVcpus : set the number of vcpus the domain can use virDomainGetMaxVcpus : max number of vcpus that can be assigned to

[libvirt] Re: [Libvir] [PATCH] Implement SetVcpus and DomainGetMaxVcpus for qemu

2008-05-07 Thread Cole Robinson
Daniel P. Berrange wrote: /* XXX future KVM will support SMP. Need to probe kernel to figure out KVM module version i guess */ -if (!strcmp(type, kvm)) +if (!strcasecmp(type, kvm)) return 1; This comment is seriously out of date - KVM supports 16 (or was is