qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v4 1/1] qemu-img: Add --target-is-zero to convert


From: Max Reitz
Subject: Re: [PATCH v4 1/1] qemu-img: Add --target-is-zero to convert
Date: Fri, 7 Feb 2020 11:54:08 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1

On 05.02.20 12:02, David Edmondson wrote:
> In many cases the target of a convert operation is a newly provisioned
> target that the user knows is blank (reads as zero). In this situation
> there is no requirement for qemu-img to wastefully zero out the entire
> device.
> 
> Add a new option, --target-is-zero, allowing the user to indicate that
> an existing target device will return zeros for all reads.
> 
> Signed-off-by: David Edmondson <address@hidden>
> ---
>  docs/interop/qemu-img.rst |  9 ++++++++-
>  qemu-img-cmds.hx          |  4 ++--
>  qemu-img.c                | 26 +++++++++++++++++++++++---
>  3 files changed, 33 insertions(+), 6 deletions(-)

Thanks, I’ve applied the patch to my block branch:

https://git.xanclic.moe/XanClic/qemu/commits/branch/block

Max

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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