mirror of https://gitee.com/openkylin/libvirt.git
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:
parent
0e37372291
commit
0dedea96d0
|
@ -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'>
|
||||
|
|
Loading…
Reference in New Issue