qemu: Implement CPUs check against machine type's cpu-max

Implement check whether (maximum) vCPUs doesn't exceed machine
type's cpu-max settings.

On older versions of QEMU the check is disabled.

Signed-off-by: Michal Novotny <minovotn@redhat.com>
This commit is contained in:
Michal Novotny
2013-06-26 17:46:35 +02:00
committed by Martin Kletzander
parent 034d322978
commit ff96888991
9 changed files with 87 additions and 10 deletions

View File

@@ -290,6 +290,11 @@
<text/>
</attribute>
</optional>
<optional>
<attribute name='maxCpus'>
<ref name='unsignedInt'/>
</attribute>
</optional>
<text/>
</element>
</define>