mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 11:35:19 +00:00
schemas: domain: Make <identity> subelement of NFS disk source optional
Both the 'user' and 'group' attribute are optional so <identity> can be empty. Allow it to be omitted completely. The parser and qemu code can handle that. The schema was introduced in943871f971
and ind018c8dc9e
an offending test was added. Fixes:943871f971
Fixes:d018c8dc9e
Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
0bd01ef765
commit
2704648936
@ -2010,6 +2010,7 @@
|
|||||||
</define>
|
</define>
|
||||||
|
|
||||||
<define name="diskSourceNetworkNFS">
|
<define name="diskSourceNetworkNFS">
|
||||||
|
<optional>
|
||||||
<element name="identity">
|
<element name="identity">
|
||||||
<optional>
|
<optional>
|
||||||
<attribute name="user">
|
<attribute name="user">
|
||||||
@ -2022,6 +2023,7 @@
|
|||||||
</attribute>
|
</attribute>
|
||||||
</optional>
|
</optional>
|
||||||
</element>
|
</element>
|
||||||
|
</optional>
|
||||||
</define>
|
</define>
|
||||||
|
|
||||||
<define name="diskSourceNetworkProtocolRBD">
|
<define name="diskSourceNetworkProtocolRBD">
|
||||||
|
Loading…
Reference in New Issue
Block a user