[Libvir] [PATCH] Implement SetVcpus and DomainGetMaxVcpus for qemu
crobinso at redhat.com
Mon Apr 28 17:46:28 UTC 2008
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 the domain.
Code change is only in qemu_driver, as the backend stuff was already in place.
I also edited qemudGetMaxVcpus to ignore case when checking the passed OS
type, since it wasn't matching the returned results of qemudDomainGetOSType.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the libvir-list