mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
Allow creating volumes with a backing store but no capacity
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
This commit is contained in:
5
tests/storagevolxml2argvdata/qcow2-nocapacity.argv
Normal file
5
tests/storagevolxml2argvdata/qcow2-nocapacity.argv
Normal file
@@ -0,0 +1,5 @@
|
||||
qemu-img create \
|
||||
-f qcow2 \
|
||||
-b /dev/null \
|
||||
-o backing_fmt=raw,encryption=on \
|
||||
/var/lib/libvirt/images/OtherDemo.img
|
||||
Reference in New Issue
Block a user