[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 01/27] qemu-img: measure: convert img_size to signed, simplif
From: |
Kevin Wolf |
Subject: |
Re: [PATCH 01/27] qemu-img: measure: convert img_size to signed, simplify handling |
Date: |
Tue, 5 Nov 2024 20:27:28 +0100 |
Am 27.09.2024 um 08:10 hat Michael Tokarev geschrieben:
> qemu_opt_set_number() expects signed int64_t.
>
> Use int64_t instead of uint64_t for img_size, use -1 as "unset"
> value instead of UINT64_MAX, and do not require temporary sval
> for conversion from string.
>
> 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 01/27] qemu-img: measure: convert img_size to signed, simplify handling,
Kevin Wolf <=