schema: networkport: Allow interleaving of subelements of 'driver' subelement of hostdev-pci
Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
03c0632f8b
commit
0d3dc4be0f
@ -143,20 +143,22 @@
|
|||||||
<ref name="virYesNo"/>
|
<ref name="virYesNo"/>
|
||||||
</attribute>
|
</attribute>
|
||||||
</optional>
|
</optional>
|
||||||
<optional>
|
<interleave>
|
||||||
<element name="driver">
|
<optional>
|
||||||
<attribute name="name">
|
<element name="driver">
|
||||||
<choice>
|
<attribute name="name">
|
||||||
<value>kvm</value>
|
<choice>
|
||||||
<value>vfio</value>
|
<value>kvm</value>
|
||||||
</choice>
|
<value>vfio</value>
|
||||||
</attribute>
|
</choice>
|
||||||
<empty/>
|
</attribute>
|
||||||
|
<empty/>
|
||||||
|
</element>
|
||||||
|
</optional>
|
||||||
|
<element name="address">
|
||||||
|
<ref name="pciaddress"/>
|
||||||
</element>
|
</element>
|
||||||
</optional>
|
</interleave>
|
||||||
<element name="address">
|
|
||||||
<ref name="pciaddress"/>
|
|
||||||
</element>
|
|
||||||
</define>
|
</define>
|
||||||
|
|
||||||
</grammar>
|
</grammar>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user