mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-26 03:21:44 +03: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"/>
|
||||
</attribute>
|
||||
</define>
|
||||
<define name="spaprvioaddress">
|
||||
<optional>
|
||||
<attribute name="reg">
|
||||
<ref name="spaprvioReg"/>
|
||||
</attribute>
|
||||
</optional>
|
||||
</define>
|
||||
<define name="pciaddress">
|
||||
<optional>
|
||||
<attribute name="domain">
|
||||
@ -2577,6 +2584,12 @@
|
||||
</attribute>
|
||||
<ref name="usbportaddress"/>
|
||||
</group>
|
||||
<group>
|
||||
<attribute name="type">
|
||||
<value>spapr-vio</value>
|
||||
</attribute>
|
||||
<ref name="spaprvioaddress"/>
|
||||
</group>
|
||||
</choice>
|
||||
</element>
|
||||
</define>
|
||||
@ -2866,4 +2879,9 @@
|
||||
<param name="pattern">[a-zA-Z0-9_\.:]+</param>
|
||||
</data>
|
||||
</define>
|
||||
<define name="spaprvioReg">
|
||||
<data type="string">
|
||||
<param name="pattern">(0x)?[0-9a-fA-F]{1,16}</param>
|
||||
</data>
|
||||
</define>
|
||||
</grammar>
|
||||
|
Loading…
Reference in New Issue
Block a user