1
0

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:
Peter Krempa 2022-10-13 18:21:30 +02:00
parent 03c0632f8b
commit 0d3dc4be0f

View File

@ -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>