[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH v5 0/2] Clean up img_create() and introduce strt
From: |
Kevin Wolf |
Subject: |
[Qemu-devel] Re: [PATCH v5 0/2] Clean up img_create() and introduce strtosz_suffix() |
Date: |
Thu, 09 Dec 2010 15:28:44 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.15) Gecko/20101027 Fedora/3.0.10-1.fc12 Thunderbird/3.0.10 |
Am 09.12.2010 14:17, schrieb address@hidden:
> From: Jes Sorensen <address@hidden>
>
> 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