[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [Qemu-devel] [PATCH for-2.10 04/16] qemu-img: Expose Pr
From: |
Max Reitz |
Subject: |
Re: [Qemu-block] [Qemu-devel] [PATCH for-2.10 04/16] qemu-img: Expose PreallocMode for resizing |
Date: |
Mon, 20 Mar 2017 16:07:44 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
On 20.03.2017 11:47, Stefan Hajnoczi wrote:
> On Mon, Mar 13, 2017 at 10:40:33PM +0100, Max Reitz wrote:
>> @@ -3429,8 +3442,16 @@ static int img_resize(int argc, char **argv)
>> goto out;
>> }
>>
>> + current_size = blk_getlength(blk);
>> + if (current_size < 0) {
>> + error_report("Failed to inquire current image length: %s\n",
>
> Spurious newline, error_report() doesn't need it.
Oops, will fix.
Max
signature.asc
Description: OpenPGP digital signature
- Re: [Qemu-block] [PATCH for-2.10 01/16] block: Add PreallocMode to BD.bdrv_truncate(), (continued)
[Qemu-block] [PATCH for-2.10 02/16] block: Add PreallocMode to bdrv_truncate(), Max Reitz, 2017/03/13
[Qemu-block] [PATCH for-2.10 03/16] block: Add PreallocMode to blk_truncate(), Max Reitz, 2017/03/13
[Qemu-block] [PATCH for-2.10 04/16] qemu-img: Expose PreallocMode for resizing, Max Reitz, 2017/03/13
[Qemu-block] [PATCH for-2.10 05/16] block/file-posix: Small fixes in raw_create(), Max Reitz, 2017/03/13
[Qemu-block] [PATCH for-2.10 06/16] block/file-posix: Extract raw_regular_truncate(), Max Reitz, 2017/03/13
[Qemu-block] [PATCH for-2.10 07/16] block/file-posix: Generalize raw_regular_truncate, Max Reitz, 2017/03/13