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>
<attribute name="port">
<ref name="driveUnit"/>
<ref name="virtioserialPort"/>
</attribute>
</optional>
</define>
@ -4936,7 +4936,7 @@
</attribute>
<optional>
<attribute name="slot">
<ref name="driveUnit"/>
<ref name="ccidSlot"/>
</attribute>
</optional>
</define>
@ -6488,6 +6488,16 @@
<param name="pattern">[a-zA-Z0-9_\-.]+</param>
</data>
</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'>
<element name='alias'>
<attribute name='name'>