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

Martin Kletzander mkletzan at redhat.com
Mon Jul 1 12:38:56 UTC 2013


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




More information about the libvir-list mailing list