From: Eric Blake <eblake@redhat.com>
To: David Edmondson <david.edmondson@oracle.com>, qemu-devel@nongnu.org
Cc: qemu-block@nongnu.org
Subject: Re: [PATCH v4 1/1] qemu-img: Add --target-is-zero to convert
Date: Wed, 5 Feb 2020 19:45:36 -0600 [thread overview]
Message-ID: <973eb8bc-fafa-a31f-e4b4-eb4e8ee868f0@redhat.com> (raw)
In-Reply-To: <20200205110248.2009589-2-david.edmondson@oracle.com>
On 2/5/20 5:02 AM, 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 <david.edmondson@oracle.com>
> ---
> docs/interop/qemu-img.rst | 9 ++++++++-
> qemu-img-cmds.hx | 4 ++--
> qemu-img.c | 26 +++++++++++++++++++++++---
> 3 files changed, 33 insertions(+), 6 deletions(-)
Reviewed-by: Eric Blake <eblake@redhat.com>
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3226
Virtualization: qemu.org | libvirt.org
next prev parent reply other threads:[~2020-02-06 1:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-05 11:02 [PATCH v4 0/1] qemu-img: Add --target-is-zero to indicate that a target is blank David Edmondson
2020-02-05 11:02 ` [PATCH v4 1/1] qemu-img: Add --target-is-zero to convert David Edmondson
2020-02-05 11:25 ` Vladimir Sementsov-Ogievskiy
2020-02-06 1:45 ` Eric Blake [this message]
2020-02-07 10:54 ` Max Reitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=973eb8bc-fafa-a31f-e4b4-eb4e8ee868f0@redhat.com \
--to=eblake@redhat.com \
--cc=david.edmondson@oracle.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).