mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-24 21:45:21 +00:00
Add New address type spapr-vio to domain.rng
Original patch by Bharata. Updated to use {1,16} in spaprvioReg based on example from Eric Blake. Signed-off-by: Bharata B Rao <bharata@linux.vnet.ibm.com> Signed-off-by: Prerna Saxena <prerna@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
This commit is contained in:
parent
7e4d896b5e
commit
4ba56a9410
@ -2199,6 +2199,13 @@
|
|||||||
<ref name="usbPort"/>
|
<ref name="usbPort"/>
|
||||||
</attribute>
|
</attribute>
|
||||||
</define>
|
</define>
|
||||||
|
<define name="spaprvioaddress">
|
||||||
|
<optional>
|
||||||
|
<attribute name="reg">
|
||||||
|
<ref name="spaprvioReg"/>
|
||||||
|
</attribute>
|
||||||
|
</optional>
|
||||||
|
</define>
|
||||||
<define name="pciaddress">
|
<define name="pciaddress">
|
||||||
<optional>
|
<optional>
|
||||||
<attribute name="domain">
|
<attribute name="domain">
|
||||||
@ -2577,6 +2584,12 @@
|
|||||||
</attribute>
|
</attribute>
|
||||||
<ref name="usbportaddress"/>
|
<ref name="usbportaddress"/>
|
||||||
</group>
|
</group>
|
||||||
|
<group>
|
||||||
|
<attribute name="type">
|
||||||
|
<value>spapr-vio</value>
|
||||||
|
</attribute>
|
||||||
|
<ref name="spaprvioaddress"/>
|
||||||
|
</group>
|
||||||
</choice>
|
</choice>
|
||||||
</element>
|
</element>
|
||||||
</define>
|
</define>
|
||||||
@ -2866,4 +2879,9 @@
|
|||||||
<param name="pattern">[a-zA-Z0-9_\.:]+</param>
|
<param name="pattern">[a-zA-Z0-9_\.:]+</param>
|
||||||
</data>
|
</data>
|
||||||
</define>
|
</define>
|
||||||
|
<define name="spaprvioReg">
|
||||||
|
<data type="string">
|
||||||
|
<param name="pattern">(0x)?[0-9a-fA-F]{1,16}</param>
|
||||||
|
</data>
|
||||||
|
</define>
|
||||||
</grammar>
|
</grammar>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user