summaryrefslogtreecommitdiffstats
path: root/hw
diff options
context:
space:
mode:
authorJes Sorensen2010-12-09 14:17:25 +0100
committerKevin Wolf2010-12-17 16:10:59 +0100
commit1da7cfbd0117eeb0aa29b187bb01426d9290e8ab (patch)
treef8c2d1113f09830bf22ba83ba3bf0fd53eb0f07e /hw
parentIntroduce strtosz_suffix() (diff)
downloadqemu-1da7cfbd0117eeb0aa29b187bb01426d9290e8ab.tar.gz
qemu-1da7cfbd0117eeb0aa29b187bb01426d9290e8ab.tar.xz
qemu-1da7cfbd0117eeb0aa29b187bb01426d9290e8ab.zip
qemu-img.c: Clean up handling of image size in img_create()
This cleans up the handling of image size in img_create() by parsing the value early, and then only setting it once if a value has been added as the last argument to the command line. Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw')
0 files changed, 0 insertions, 0 deletions