提交 0dedea96 编写于 作者: H Han Han 提交者: Michal Privoznik

rng: Separate virtio serial port and ccid slot from driveUnit

Signed-off-by: NHan Han <hhan@redhat.com>
Reviewed-by: NMichal Privoznik <mprivozn@redhat.com>
上级 0e373722
...@@ -4926,7 +4926,7 @@ ...@@ -4926,7 +4926,7 @@
</optional> </optional>
<optional> <optional>
<attribute name="port"> <attribute name="port">
<ref name="driveUnit"/> <ref name="virtioserialPort"/>
</attribute> </attribute>
</optional> </optional>
</define> </define>
...@@ -4936,7 +4936,7 @@ ...@@ -4936,7 +4936,7 @@
</attribute> </attribute>
<optional> <optional>
<attribute name="slot"> <attribute name="slot">
<ref name="driveUnit"/> <ref name="ccidSlot"/>
</attribute> </attribute>
</optional> </optional>
</define> </define>
...@@ -6488,6 +6488,16 @@ ...@@ -6488,6 +6488,16 @@
<param name="pattern">[a-zA-Z0-9_\-.]+</param> <param name="pattern">[a-zA-Z0-9_\-.]+</param>
</data> </data>
</define> </define>
<define name="virtioserialPort">
<data type="string">
<param name="pattern">[0-9]{1,2}</param>
</data>
</define>
<define name="ccidSlot">
<data type="string">
<param name="pattern">[0-9]{1,2}</param>
</data>
</define>
<define name='alias'> <define name='alias'>
<element name='alias'> <element name='alias'>
<attribute name='name'> <attribute name='name'>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册