mirror of https://gitee.com/openkylin/libvirt.git
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:
parent
73a2ff3616
commit
3134555955
|
@ -496,9 +496,11 @@
|
|||
<ref name="unsignedLong"/>
|
||||
</element>
|
||||
|
||||
<element name="type">
|
||||
<text/>
|
||||
</element>
|
||||
<optional>
|
||||
<element name="type">
|
||||
<text/>
|
||||
</element>
|
||||
</optional>
|
||||
</define>
|
||||
|
||||
<define name="capstorage">
|
||||
|
|
Loading…
Reference in New Issue