Am 09.12.2010 14:17, schrieb jes.soren...@redhat.com:
> From: Jes Sorensen
>
> 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.
>
> v5 fixes the two issues pointed out by Stefan, making the call in
> strtosz() explicitly use STRTOSZ_DEFSUFFIX_MB instead of 0 to specify
> the default and adds a named argument to the prototype for
> strtosz_suffix().
>
> 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(-)
Thanks, applied all to the block branch.
Kevin