diff options
author | Jes Sorensen <Jes.Sorensen@redhat.com> | 2010-12-09 14:17:25 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2010-12-17 16:10:59 +0100 |
commit | 1da7cfbd0117eeb0aa29b187bb01426d9290e8ab (patch) | |
tree | f8c2d1113f09830bf22ba83ba3bf0fd53eb0f07e /hw/soc_dma.c | |
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>
Diffstat (limited to 'hw/soc_dma.c')
0 files changed, 0 insertions, 0 deletions