From: Jes Sorensen <jes.soren...@redhat.com> This patch set introduces strtosz_suffix() which is needed to be able to use strtosz parsing with a non MB default suffix. This is used to clean up qemu-img.c:img_create().
Kevin asked me to rebase this instead of applying the other patches on top, so please discard the previous versions. Sorry for the patch noise. Jes Sorensen (2): Introduce strtosz_suffix() qemu-img.c: Clean up handling of image size in img_create() cutils.c | 17 ++++++++++++++--- qemu-common.h | 7 +++++++ qemu-img.c | 23 +++++++++++++++++------ 3 files changed, 38 insertions(+), 9 deletions(-) -- 1.7.3.2