mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-09-08 16:54:49 +00:00
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
|