qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 0/2] Make preallocate_co() resize the image to the correct si


From: Max Reitz
Subject: Re: [PATCH 0/2] Make preallocate_co() resize the image to the correct size
Date: Tue, 15 Sep 2020 09:22:33 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0

On 11.09.20 16:09, Alberto Garcia wrote:
> preallocate_co() does not resize the image correctly if the original
> size was not cluster-aligned.
> 
> This series should be applied on top of Max's block branch (I tested
> it with commit 8e66c829eda997dad661d49d73668b1fd3e6043d).
> 
>    https://git.xanclic.moe/XanClic/qemu/commits/branch/block
> 
> Alberto Garcia (2):
>   qcow2: Make preallocate_co() resize the image to the correct size
>   qcow2: Convert qcow2_alloc_cluster_offset() into
>     qcow2_alloc_host_offset()
> 
>  block/qcow2.h              |  6 +++---
>  block/qcow2-cluster.c      | 14 +++++++++----
>  block/qcow2.c              | 35 +++++++++++++--------------------
>  tests/qemu-iotests/125     | 40 +++++++++++++++++++++-----------------
>  tests/qemu-iotests/125.out | 28 ++++++++++++++++++++++++--
>  5 files changed, 74 insertions(+), 49 deletions(-)

Thanks, applied to my block branch.

Max

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]