aboutsummaryrefslogtreecommitdiff
path: root/linux-user/main.c
diff options
context:
space:
mode:
authorJes Sorensen <Jes.Sorensen@redhat.com>2010-12-09 14:17:25 +0100
committerKevin Wolf <kwolf@redhat.com>2010-12-17 16:10:59 +0100
commit1da7cfbd0117eeb0aa29b187bb01426d9290e8ab (patch)
treef8c2d1113f09830bf22ba83ba3bf0fd53eb0f07e /linux-user/main.c
parentd8427002dc1be0a9337cde3ef505ee6e57718675 (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>
Diffstat (limited to 'linux-user/main.c')
0 files changed, 0 insertions, 0 deletions