mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
Move pool XML out of storagevolxml2argvdata
Reuse the pool definition from storagepoolxml2xmlin.
This commit is contained in:
parent
7064eee95a
commit
823778829e
@ -1,18 +0,0 @@
|
||||
<pool type='dir'>
|
||||
<name>virtimages</name>
|
||||
<uuid>70a7eb15-6c34-ee9c-bf57-69e8e5ff3fb2</uuid>
|
||||
<capacity>0</capacity>
|
||||
<allocation>0</allocation>
|
||||
<available>0</available>
|
||||
<source>
|
||||
</source>
|
||||
<target>
|
||||
<path>///var/////lib/libvirt/images//</path>
|
||||
<permissions>
|
||||
<mode>0700</mode>
|
||||
<owner>-1</owner>
|
||||
<group>-1</group>
|
||||
<label>some_label_t</label>
|
||||
</permissions>
|
||||
</target>
|
||||
</pool>
|
@ -124,7 +124,7 @@ testCompareXMLToArgvHelper(const void *data)
|
||||
virAsprintf(&inputvolxml, "%s/storagevolxml2argvdata/%s.xml",
|
||||
abs_srcdir, info->inputvol) < 0)
|
||||
goto cleanup;
|
||||
if (virAsprintf(&poolxml, "%s/storagevolxml2argvdata/%s.xml",
|
||||
if (virAsprintf(&poolxml, "%s/storagepoolxml2xmlin/%s.xml",
|
||||
abs_srcdir, info->pool) < 0 ||
|
||||
virAsprintf(&volxml, "%s/storagevolxml2argvdata/%s.xml",
|
||||
abs_srcdir, info->vol) < 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user