mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
Update XML Schema for new entries
Define the element cputune's child elements 'period' and 'quota': <cputune> <period>100000</period> <quota>50000</quota> </cputune>
This commit is contained in:
parent
fd7c172340
commit
f27f62ca69
@ -388,6 +388,16 @@
|
|||||||
<ref name="cpushares"/>
|
<ref name="cpushares"/>
|
||||||
</element>
|
</element>
|
||||||
</optional>
|
</optional>
|
||||||
|
<optional>
|
||||||
|
<element name="period">
|
||||||
|
<ref name="cpuperiod"/>
|
||||||
|
</element>
|
||||||
|
</optional>
|
||||||
|
<optional>
|
||||||
|
<element name="quota">
|
||||||
|
<ref name="cpuquota"/>
|
||||||
|
</element>
|
||||||
|
</optional>
|
||||||
<zeroOrMore>
|
<zeroOrMore>
|
||||||
<element name="vcpupin">
|
<element name="vcpupin">
|
||||||
<attribute name="vcpu">
|
<attribute name="vcpu">
|
||||||
@ -2401,7 +2411,21 @@
|
|||||||
<data type="unsignedInt">
|
<data type="unsignedInt">
|
||||||
<param name="pattern">[0-9]+</param>
|
<param name="pattern">[0-9]+</param>
|
||||||
</data>
|
</data>
|
||||||
</define>
|
</define>
|
||||||
|
<define name="cpuperiod">
|
||||||
|
<data type="unsignedLong">
|
||||||
|
<param name="pattern">[0-9]+</param>
|
||||||
|
<param name="minInclusive">1000</param>
|
||||||
|
<param name="maxInclusive">1000000</param>
|
||||||
|
</data>
|
||||||
|
</define>
|
||||||
|
<define name="cpuquota">
|
||||||
|
<data type="long">
|
||||||
|
<param name="pattern">-?[0-9]+</param>
|
||||||
|
<param name="maxInclusive">18446744073709551</param>
|
||||||
|
<param name='minInclusive'>-1</param>
|
||||||
|
</data>
|
||||||
|
</define>
|
||||||
<define name="PortNumber">
|
<define name="PortNumber">
|
||||||
<data type="short">
|
<data type="short">
|
||||||
<param name="minInclusive">-1</param>
|
<param name="minInclusive">-1</param>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user