1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-03-20 07:59:00 +00:00

rng: Separate virtio serial port and ccid slot from driveUnit

Signed-off-by: Han Han <hhan@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Han Han 2019-12-04 17:35:38 +08:00 committed by Michal Privoznik
parent 0e37372291
commit 0dedea96d0

View File

@ -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 @@
</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 @@
<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'>