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"/>
</attribute>
</optional>
<optional>
<element name="driver">
<attribute name="name">
<choice>
<value>kvm</value>
<value>vfio</value>
</choice>
</attribute>
<empty/>
<interleave>
<optional>
<element name="driver">
<attribute name="name">
<choice>
<value>kvm</value>
<value>vfio</value>
</choice>
</attribute>
<empty/>
</element>
</optional>
<element name="address">
<ref name="pciaddress"/>
</element>
</optional>
<element name="address">
<ref name="pciaddress"/>
</element>
</interleave>
</define>
</grammar>