schema: Make the cpuset type reusable across schema files

This commit is contained in:
Peter Krempa 2013-01-18 19:29:40 +01:00
parent 053e813a30
commit 14940b5eaa
2 changed files with 6 additions and 5 deletions

View File

@ -219,4 +219,10 @@
</data>
</define>
<define name="cpuset">
<data type="string">
<param name="pattern">([0-9]+(-[0-9]+)?|\^[0-9]+)(,([0-9]+(-[0-9]+)?|\^[0-9]+))*</param>
</data>
</define>
</grammar>

View File

@ -3684,11 +3684,6 @@
<!--
Type library
-->
<define name="cpuset">
<data type="string">
<param name="pattern">([0-9]+(-[0-9]+)?|\^[0-9]+)(,([0-9]+(-[0-9]+)?|\^[0-9]+))*</param>
</data>
</define>
<define name="countCPU">
<data type="unsignedShort">
<param name="pattern">[0-9]+</param>