commit | 1da7cfbd0117eeb0aa29b187bb01426d9290e8ab | [log] [tgz] |
---|---|---|
author | Jes Sorensen <Jes.Sorensen@redhat.com> | Thu Dec 09 14:17:25 2010 +0100 |
committer | Kevin Wolf <kwolf@redhat.com> | Fri Dec 17 16:10:59 2010 +0100 |
tree | f8c2d1113f09830bf22ba83ba3bf0fd53eb0f07e | |
parent | d8427002dc1be0a9337cde3ef505ee6e57718675 [diff] |
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>