[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 02/27] qemu-img: create: convert img_size to signed, simplify
From: |
Kevin Wolf |
Subject: |
Re: [PATCH 02/27] qemu-img: create: convert img_size to signed, simplify handling |
Date: |
Tue, 5 Nov 2024 20:27:51 +0100 |
Am 27.09.2024 um 08:10 hat Michael Tokarev geschrieben:
> Initializing an unsigned as -1, or using temporary
> sval for conversion is awkward. Since we don't allow
> other "negative" values anyway, use signed value and
> pass it to bdrv_img_create() (where it is properly
> converted to unsigned), simplifying code.
>
> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH 02/27] qemu-img: create: convert img_size to signed, simplify handling,
Kevin Wolf <=