mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 19:45:21 +00:00
47fa3d3992
Since commitfcbbb28
we steal the pointer to the storage pool source name if there was no pool name specified. Properly duplicate the string to avoid freeing it twice. https://bugzilla.redhat.com/show_bug.cgi?id=1436400 (cherry picked from commite9f9690958
)
20 lines
450 B
XML
20 lines
450 B
XML
<pool type='logical'>
|
|
<name>zily</name>
|
|
<uuid>1c13165a-d0f4-3aee-b447-30fb38789091</uuid>
|
|
<capacity unit='bytes'>0</capacity>
|
|
<allocation unit='bytes'>0</allocation>
|
|
<available unit='bytes'>0</available>
|
|
<source>
|
|
<name>zily</name>
|
|
<format type='lvm2'/>
|
|
</source>
|
|
<target>
|
|
<path>/dev/zily</path>
|
|
<permissions>
|
|
<mode>0700</mode>
|
|
<owner>0</owner>
|
|
<group>0</group>
|
|
</permissions>
|
|
</target>
|
|
</pool>
|