mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 14:15:28 +00:00
8041471858
Commit 39cef12a9
altered/fixed the inputvol processing to create
a multistep process when using an inputvol to create an encrypted
output volume; however, it unnecessarily assumed/restricted the
inputvol to be of 'raw' format only.
Modify the processing code to allow the inputvol format to be checked
and used in order to create the encrypted volume.
Signed-off-by: John Ferlan <jferlan@redhat.com>
ACKed-by: Michal Privoznik <mprivozn@redhat.com>
22 lines
551 B
XML
22 lines
551 B
XML
<volume>
|
|
<name>sparse-qcow2.img</name>
|
|
<source/>
|
|
<capacity unit="TiB">1</capacity>
|
|
<allocation unit="bytes">0</allocation>
|
|
<target>
|
|
<path>/var/lib/libvirt/images/sparse-qcow2.img</path>
|
|
<format type="qcow2"/>
|
|
<permissions>
|
|
<mode>0</mode>
|
|
<owner>0744</owner>
|
|
<group>0</group>
|
|
<label>virt_image_t</label>
|
|
</permissions>
|
|
<timestamps>
|
|
<atime>1341933637.273190990</atime>
|
|
<mtime>1341930622.047245868</mtime>
|
|
<ctime>1341930622.047245868</ctime>
|
|
</timestamps>
|
|
</target>
|
|
</volume>
|