schemas: Make <type/> for capscsi type optional

The <type/> element for <capability type='scsi'> part of nodedev
XML is optional (see udevProcessSCSIDevice()) and as such might
not be formatted into nodedev XML (see
virNodeDeviceCapSCSIDefFormat()). Reflect this in our RNG.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
Michal Privoznik 2021-09-16 10:29:21 +02:00
parent 73a2ff3616
commit 3134555955

View File

@ -496,9 +496,11 @@
<ref name="unsignedLong"/>
</element>
<element name="type">
<text/>
</element>
<optional>
<element name="type">
<text/>
</element>
</optional>
</define>
<define name="capstorage">