mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-03 11:51:11 +00:00
efab27afbf
When using logical pools, we had to trust the target->path provided. This parameter, however, can be completely ommited and we can use '/dev/<source.name>' safely and populate it to target.path. Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=952973
21 lines
502 B
XML
21 lines
502 B
XML
<pool type='logical'>
|
|
<name>HostVG</name>
|
|
<uuid>1c13165a-d0f4-3aee-b447-30fb38789091</uuid>
|
|
<capacity>99891544064</capacity>
|
|
<allocation>99220455424</allocation>
|
|
<available>671088640</available>
|
|
<source>
|
|
<device path="/dev/sdb1"/>
|
|
<device path="/dev/sdb2"/>
|
|
<device path="/dev/sdb3"/>
|
|
</source>
|
|
<target>
|
|
<path>/invalid/nonexistent/path</path>
|
|
<permissions>
|
|
<mode>0700</mode>
|
|
<owner>0</owner>
|
|
<group>0</group>
|
|
</permissions>
|
|
</target>
|
|
</pool>
|