Stefan Weil d191d12d5f qcow2: Allow qcow2 disk images with size zero
Images with disk size 0 may be used for
VM snapshots, but not to save normal block data.

It is possible to create such images using
qemu-img, but opening them later fails.

So even "qemu-img info image.qcow2" is not
possible for an image created with
"qemu-img create -f qcow2 image.qcow2 0".

This is fixed here.

Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-11-09 08:43:01 -06:00
..
2009-10-27 12:28:59 -05:00
2009-07-09 16:06:38 -05:00
2009-07-10 13:44:29 -05:00
2009-07-22 10:58:47 -05:00
2009-09-09 14:57:20 -05:00
2009-10-01 16:12:16 -05:00