qemu-img create -f qcow2 -b /dev/null \
--o backing_fmt=raw,encryption=on,compat=1.1 \
+-o backing_fmt=raw,compat=1.1 \
/var/lib/libvirt/images/OtherDemo.img 5242880K
qemu-img create -f qcow2 -b /dev/null \
--o backing_fmt=raw,encryption=on,compat=0.10 \
+-o backing_fmt=raw,compat=0.10 \
/var/lib/libvirt/images/OtherDemo.img 5242880K
qemu-img convert -f raw -O qcow2 \
--o encryption=on,compat=0.10 \
+-o compat=0.10 \
/dev/HostVG/Swap /var/lib/libvirt/images/OtherDemo.img
qemu-img create -f qcow2 -b /dev/null \
--o backing_fmt=raw,encryption=on,compat=1.1,lazy_refcounts \
+-o backing_fmt=raw,compat=1.1,lazy_refcounts \
/var/lib/libvirt/images/OtherDemo.img 5242880K
qemu-img convert -f raw -O qcow2 \
--o encryption=on,preallocation=metadata,compat=0.10 \
+-o preallocation=metadata,compat=0.10 \
/var/lib/libvirt/images/sparse.img /var/lib/libvirt/images/OtherDemo.img
qemu-img create -f qcow2 \
--o encryption=on,preallocation=metadata,compat=0.10 \
+-o preallocation=metadata,compat=0.10 \
/var/lib/libvirt/images/OtherDemo.img 5242880K
qemu-img convert -f raw -O qcow2 \
--o encryption=on,preallocation=falloc,compat=0.10 \
+-o preallocation=falloc,compat=0.10 \
/var/lib/libvirt/images/sparse.img \
/var/lib/libvirt/images/OtherDemo.img
qemu-img create \
-f qcow2 \
-b /dev/null \
--o backing_fmt=raw,encryption=on,compat=0.10 \
+-o backing_fmt=raw,compat=0.10 \
/var/lib/libvirt/images/OtherDemo.img
qemu-img create -f qcow2 -b /dev/null \
--o backing_fmt=raw,encryption=on,nocow=on,compat=0.10 \
+-o backing_fmt=raw,nocow=on,compat=0.10 \
/var/lib/libvirt/images/OtherDemo.img 5242880K
<group>0</group>
<label>unconfined_u:object_r:virt_image_t:s0</label>
</permissions>
- <encryption format='qcow'>
- <secret type='passphrase' uuid='e78d4b51-a2af-485f-b0f5-afca709a80f4'/>
- </encryption>
<compat>0.10</compat>
<features>
<lazy_refcounts/>
<group>0</group>
<label>unconfined_u:object_r:virt_image_t:s0</label>
</permissions>
- <encryption format='qcow'>
- <secret type='passphrase' uuid='e78d4b51-a2af-485f-b0f5-afca709a80f4'/>
- </encryption>
<features/>
</target>
<backingStore>
<group>0</group>
<label>unconfined_u:object_r:virt_image_t:s0</label>
</permissions>
- <encryption format='qcow'>
- <secret type='passphrase' uuid='e78d4b51-a2af-485f-b0f5-afca709a80f4'/>
- </encryption>
<compat>1.1</compat>
<features>
<lazy_refcounts/>
<group>0</group>
<label>unconfined_u:object_r:virt_image_t:s0</label>
</permissions>
- <encryption format='qcow'>
- <secret type='passphrase' uuid='e78d4b51-a2af-485f-b0f5-afca709a80f4'/>
- </encryption>
</target>
</volume>
<group>0</group>
<label>unconfined_u:object_r:virt_image_t:s0</label>
</permissions>
- <encryption format='qcow'>
- <secret type='passphrase' uuid='e78d4b51-a2af-485f-b0f5-afca709a80f4'/>
- </encryption>
</target>
<backingStore>
<path>/dev/null</path>
<group>0</group>
<label>unconfined_u:object_r:virt_image_t:s0</label>
</permissions>
- <encryption format='qcow'>
- <secret type='passphrase' uuid='e78d4b51-a2af-485f-b0f5-afca709a80f4'/>
- </encryption>
</target>
</volume>
<group>0</group>
<label>unconfined_u:object_r:virt_image_t:s0</label>
</permissions>
- <encryption format='qcow'>
- <secret type='passphrase' uuid='e78d4b51-a2af-485f-b0f5-afca709a80f4'/>
- </encryption>
<nocow/>
</target>
<backingStore>
<group>0</group>
<label>unconfined_u:object_r:virt_image_t:s0</label>
</permissions>
- <encryption format='qcow'>
- <secret type='passphrase' uuid='e78d4b51-a2af-485f-b0f5-afca709a80f4'/>
- </encryption>
</target>
<backingStore>
<path>/dev/null</path>
<group>0</group>
<label>unconfined_u:object_r:virt_image_t:s0</label>
</permissions>
- <encryption format='qcow'>
- <secret type='passphrase' uuid='e78d4b51-a2af-485f-b0f5-afca709a80f4'/>
- </encryption>
<compat>0.10</compat>
<features>
<lazy_refcounts/>
<group>0</group>
<label>unconfined_u:object_r:virt_image_t:s0</label>
</permissions>
- <encryption format='qcow'>
- <secret type='passphrase' uuid='e78d4b51-a2af-485f-b0f5-afca709a80f4'/>
- </encryption>
<compat>1.1</compat>
<features/>
</target>
<group>0</group>
<label>unconfined_u:object_r:virt_image_t:s0</label>
</permissions>
- <encryption format='qcow'>
- <secret type='passphrase' uuid='e78d4b51-a2af-485f-b0f5-afca709a80f4'/>
- </encryption>
<compat>1.1</compat>
<features>
<lazy_refcounts/>
<group>0</group>
<label>unconfined_u:object_r:virt_image_t:s0</label>
</permissions>
- <encryption format='qcow'>
- <secret type='passphrase' uuid='e78d4b51-a2af-485f-b0f5-afca709a80f4'/>
- </encryption>
</target>
</volume>
<group>0</group>
<label>unconfined_u:object_r:virt_image_t:s0</label>
</permissions>
- <encryption format='qcow'>
- <secret type='passphrase' uuid='e78d4b51-a2af-485f-b0f5-afca709a80f4'/>
- </encryption>
</target>
</volume>
<group>0</group>
<label>unconfined_u:object_r:virt_image_t:s0</label>
</permissions>
- <encryption format='qcow'>
- <secret type='passphrase' uuid='e78d4b51-a2af-485f-b0f5-afca709a80f4'/>
- </encryption>
</target>
<backingStore>
<path>/dev/null</path>
<group>0</group>
<label>unconfined_u:object_r:virt_image_t:s0</label>
</permissions>
- <encryption format='qcow'>
- <secret type='passphrase' uuid='e78d4b51-a2af-485f-b0f5-afca709a80f4'/>
- </encryption>
</target>
<backingStore>
<path>/dev/null</path>