From: Stefan Hajnoczi <stefanha@redhat.com>
To: Alex Bligh <alex@alex.org.uk>
Cc: Kevin Wolf <kwolf@redhat.com>,
Anthony Liguori <aliguori@us.ibm.com>,
Fam Zheng <famz@redhat.com>,
qemu-devel@nongnu.org, Alexandre Derumier <aderumier@odiso.com>,
Paolo Bonzini <pbonzini@redhat.com>
Subject: Re: [Qemu-devel] [PATCHv7] add qemu-img convert -n option (skip target volume creation)
Date: Tue, 3 Sep 2013 11:32:48 +0200 [thread overview]
Message-ID: <20130903093248.GC21758@stefanha-thinkpad.redhat.com> (raw)
In-Reply-To: <1378145244-8680-1-git-send-email-alex@alex.org.uk>
On Mon, Sep 02, 2013 at 07:07:24PM +0100, Alex Bligh wrote:
> From: Alexandre Derumier <aderumier@odiso.com>
>
> Add a -n option to skip volume creation on qemu-img convert.
> This is useful for targets such as rbd / ceph, where the
> target volume may already exist; we cannot always rely on
> qemu-img convert to create the image, as dependent on the
> output format, there may be parameters which are not possible
> to specify through the qemu-img convert command line.
>
> Reviewed-by: Eric Blake <eblake@redhat.com>
> Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
> Signed-off-by: Alex Bligh <alex@alex.org.uk>
> ---
>
> Changes since v6:
> * Check for outut file too short using bdrv_getlength (Stefan H)
> * Remove spurious comment re compression from test (Stefan H)
> * Remove unused variables from test (Stefan H)
>
> Changes since v5:
> * Change order of case statement for -n to be after -q
> * Add my own copyright string (per Eric Blake)
>
> qemu-img-cmds.hx | 4 +-
> qemu-img.c | 53 +++++++++++++++++-------
> qemu-img.texi | 15 ++++++-
> tests/qemu-iotests/060 | 97 ++++++++++++++++++++++++++++++++++++++++++++
> tests/qemu-iotests/060.out | 10 +++++
> tests/qemu-iotests/group | 1 +
> 6 files changed, 162 insertions(+), 18 deletions(-)
Due to the collision with Max's 060 I changed your test case number to
063.
Thanks, applied to my block tree:
https://github.com/stefanha/qemu/commits/block
Stefan
prev parent reply other threads:[~2013-09-03 9:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-02 18:07 [Qemu-devel] [PATCHv7] add qemu-img convert -n option (skip target volume creation) Alex Bligh
2013-09-03 9:32 ` Stefan Hajnoczi [this message]
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=20130903093248.GC21758@stefanha-thinkpad.redhat.com \
--to=stefanha@redhat.com \
--cc=aderumier@odiso.com \
--cc=alex@alex.org.uk \
--cc=aliguori@us.ibm.com \
--cc=famz@redhat.com \
--cc=kwolf@redhat.com \
--cc=pbonzini@redhat.com \
--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).