mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-29 09:05:25 +00:00
155ca616eb
The tool creating the image can get the capacity from the backing storage. Just refresh the volume afterwards. https://bugzilla.redhat.com/show_bug.cgi?id=958510
6 lines
117 B
Plaintext
6 lines
117 B
Plaintext
qemu-img create \
|
|
-f qcow2 \
|
|
-b /dev/null \
|
|
-o backing_fmt=raw,encryption=on \
|
|
/var/lib/libvirt/images/OtherDemo.img
|