qemu-img: Allow creating zero sized images
authorKevin Wolf <kwolf@redhat.com>
Wed, 28 Oct 2009 10:36:07 +0000 (11:36 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 9 Nov 2009 14:43:03 +0000 (08:43 -0600)
commitb2112c14daa1b1debe05fdbb47295185d8460bac
treebf818afac854674d719b03ada11537eaaf3dd81f
parent5d8c7a434af03805e3d4b4a5913f488a1ae7a53b
qemu-img: Allow creating zero sized images

A size of 0 should be valid and cannot be treated as "missing value". Use -1
for this purpose instead.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
qemu-img.c