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:
Ján Tomko
2015-02-17 16:57:02 +01:00
parent 813e4b7f83
commit 155ca616eb
8 changed files with 79 additions and 10 deletions

View 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