[libvirt] [PATCH v5] qemu: Implement CPUs check against machine type's cpu-max

Michal Novotny minovotn at redhat.com
Mon Jul 1 12:41:09 UTC 2013


On 07/01/2013 02:38 PM, Martin Kletzander wrote:
> On 06/26/2013 05:46 PM, Michal Novotny wrote:
>> Implement check whether (maximum) vCPUs doesn't exceed machine
>> type's cpu-max settings.
>>
>> Differences between v4 and v5 (this one):
>>  - Changed type to unsigned int
>>  - Renamed variable to maxCpus to match previous naming
>>  - When machines types are parsed from command line set maxCpus = 0 to don't show
>>
>> Differences between v3 and v4:
>>  - Rebased to latest libvirt version
>>  - Capability XML output extended by maxCpus field
>>  - Extended caps-qemu-kvm.xml test by maxCpus for one of test emulators
>>
>> On older versions of QEMU the check is disabled.
>>
>> Signed-off-by: Michal Novotny <minovotn at redhat.com>
>> ---
> I polished the commit message (removed the differences) and pushed the
> patch.
>
> Martin
>
Thanks a lot! :-)

Michal

-- 
Michal Novotny <minovotn at redhat.com>, RHCE, Red Hat
Virtualization | libvirt-php bindings | php-virt-control.org




More information about the libvir-list mailing list