mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 21:34:54 +03:00
cgroup: Update XML Schema for new entries.
Update XML Schema for new entries. Signed-off-by: Gui Jianfeng <guijianfeng@cn.fujitsu.com>
This commit is contained in:
parent
c3658ab543
commit
7c8c183e24
@ -306,6 +306,18 @@
|
|||||||
</element>
|
</element>
|
||||||
</optional>
|
</optional>
|
||||||
|
|
||||||
|
<!-- The Blkio cgroup related tunables would go in the blkiotune -->
|
||||||
|
<optional>
|
||||||
|
<element name="blkiotune">
|
||||||
|
<!-- I/O weight the VM can use -->
|
||||||
|
<optional>
|
||||||
|
<element name="weight">
|
||||||
|
<ref name="weight"/>
|
||||||
|
</element>
|
||||||
|
</optional>
|
||||||
|
</element>
|
||||||
|
</optional>
|
||||||
|
|
||||||
<!-- All the memory/swap related tunables would go in the memtune -->
|
<!-- All the memory/swap related tunables would go in the memtune -->
|
||||||
<optional>
|
<optional>
|
||||||
<element name="memtune">
|
<element name="memtune">
|
||||||
@ -2147,9 +2159,10 @@
|
|||||||
Type library
|
Type library
|
||||||
|
|
||||||
Our unsignedInt doesn't allow a leading '+' in its lexical form
|
Our unsignedInt doesn't allow a leading '+' in its lexical form
|
||||||
A domain name shoul be made of ascii, numbers, _-+ and is non-empty
|
A domain name should be made of ascii, numbers, _-+ and is non-empty
|
||||||
UUID currently allows only the 32 characters strict syntax
|
UUID currently allows only the 32 characters strict syntax
|
||||||
memoryKB request at least 4Mbytes though Xen will grow bigger if too low
|
memoryKB request at least 4Mbytes though Xen will grow bigger if too low
|
||||||
|
weight currently is in range [100, 1000]
|
||||||
-->
|
-->
|
||||||
<define name="unsignedInt">
|
<define name="unsignedInt">
|
||||||
<data type="unsignedInt">
|
<data type="unsignedInt">
|
||||||
@ -2182,6 +2195,13 @@
|
|||||||
<param name="minInclusive">-1</param>
|
<param name="minInclusive">-1</param>
|
||||||
</data>
|
</data>
|
||||||
</define>
|
</define>
|
||||||
|
<define name="weight">
|
||||||
|
<data type="unsignedInt">
|
||||||
|
<param name="pattern">[0-9]+</param>
|
||||||
|
<param name="minInclusive">100</param>
|
||||||
|
<param name="maxInclusive">1000</param>
|
||||||
|
</data>
|
||||||
|
</define>
|
||||||
<define name="memoryKB">
|
<define name="memoryKB">
|
||||||
<data type="unsignedInt">
|
<data type="unsignedInt">
|
||||||
<param name="pattern">[0-9]+</param>
|
<param name="pattern">[0-9]+</param>
|
||||||
|
Loading…
Reference in New Issue
Block a user