summaryrefslogtreecommitdiffstats
path: root/qemu-img.c
diff options
context:
space:
mode:
authorJes Sorensen <Jes.Sorensen@redhat.com>2010-12-09 14:17:24 +0100
committerKevin Wolf <kwolf@redhat.com>2010-12-17 16:10:59 +0100
commitd8427002dc1be0a9337cde3ef505ee6e57718675 (patch)
tree507ed786e970dc5ec0b0e7c26260b65bded8e6ad /qemu-img.c
parentdf2dbb4a508ebea7bcacff3f07caecbae969d528 (diff)
downloadhqemu-d8427002dc1be0a9337cde3ef505ee6e57718675.zip
hqemu-d8427002dc1be0a9337cde3ef505ee6e57718675.tar.gz
Introduce strtosz_suffix()
This introduces strtosz_suffix() which allows the caller to specify a default suffix in case the non default of MB is wanted. strtosz() is kept as a wrapper for strtosz_suffix() which keeps it's current default of MB. 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 'qemu-img.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud