mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
schema: Make the cpuset type reusable across schema files
This commit is contained in:
parent
053e813a30
commit
14940b5eaa
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user