schemas: Provide grammar for scsi_generic capabilities

A nodedev can have 'scsi_generic' capabilities but corresponding
RNG is missing. Fortunately, it's very simple - there's only one
mandatory child element <char/>.

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 11:18:01 +02:00
parent 3134555955
commit 0ef02498ee

View File

@ -78,6 +78,7 @@
<ref name="capusbdev"/>
<ref name="capusbinterface"/>
<ref name="capnet"/>
<ref name="capscsigeneric"/>
<ref name="capscsihost"/>
<ref name="capscsitarget"/>
<ref name="capscsi"/>
@ -421,6 +422,16 @@
</element>
</define>
<define name="capscsigeneric">
<attribute name="type">
<value>scsi_generic</value>
</attribute>
<element name='char'>
<text/>
</element>
</define>
<define name="capscsihost">
<attribute name="type">
<value>scsi_host</value>