mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-30 17:45:23 +00:00
d2632d60aa
Volume and pool formatting functions took different approaches to unspecified uids/gids. When unknown, it is always parsed as -1, but one of the functions formatted it as unsigned int (wrong) and one as int (better). Due to that, our two of our XML files from tests cannot be parsed on 32-bit machines. RNG schema needs to be modified as well, but because both storagepool.rng and storagevol.rng need same schema for permission element, save some space by moving it to storagecommon.rng. Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
18 lines
396 B
XML
18 lines
396 B
XML
<volume type='netdir'>
|
|
<name>dir</name>
|
|
<key>vol/dir</key>
|
|
<source>
|
|
</source>
|
|
<capacity unit='bytes'>0</capacity>
|
|
<allocation unit='bytes'>0</allocation>
|
|
<target>
|
|
<path>gluster://example.com/vol/dir</path>
|
|
<format type='dir'/>
|
|
<permissions>
|
|
<mode>0600</mode>
|
|
<owner>4294967295</owner>
|
|
<group>4294967295</group>
|
|
</permissions>
|
|
</target>
|
|
</volume>
|