mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-27 16:15: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>
17 lines
354 B
XML
17 lines
354 B
XML
<volume type='network'>
|
|
<name>test2</name>
|
|
<source>
|
|
</source>
|
|
<capacity unit='bytes'>1024</capacity>
|
|
<allocation unit='bytes'>0</allocation>
|
|
<target>
|
|
<path>sheepdog:test2</path>
|
|
<format type='unknown'/>
|
|
<permissions>
|
|
<mode>0600</mode>
|
|
<owner>-1</owner>
|
|
<group>-1</group>
|
|
</permissions>
|
|
</target>
|
|
</volume>
|