From: Nir Soffer <nirsof@gmail.com>
To: qemu-block@nongnu.org, qemu-devel@nongnu.org
Cc: Kevin Wolf <kwolf@redhat.com>, Nir Soffer <nsoffer@redhat.com>,
Max Reitz <mreitz@redhat.com>
Subject: [PATCH 0/2] Fix convert to qcow2 compressed to NBD
Date: Sun, 26 Jul 2020 18:25:30 +0300 [thread overview]
Message-ID: <20200726152532.256261-1-nsoffer@redhat.com> (raw)
Fix qemu-img convert -O qcow2 -c to NBD URL and add missing test for this
usage.
This already works now, but unfortunately qemu-img fails when trying to
truncate the target image to the same size at the end of the operation.
Nir Soffer (2):
block: nbd: Fix convert qcow2 compressed to nbd
qemu-iotests: Test convert to qcow2 compressed to NBD
block/nbd.c | 27 +++++++++++++
tests/qemu-iotests/302 | 83 ++++++++++++++++++++++++++++++++++++++
tests/qemu-iotests/302.out | 27 +++++++++++++
tests/qemu-iotests/group | 1 +
4 files changed, 138 insertions(+)
create mode 100755 tests/qemu-iotests/302
create mode 100644 tests/qemu-iotests/302.out
--
2.25.4
next reply other threads:[~2020-07-26 15:26 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-26 15:25 Nir Soffer [this message]
2020-07-26 15:25 ` [PATCH 1/2] block: nbd: Fix convert qcow2 compressed to nbd Nir Soffer
2020-07-27 8:58 ` Max Reitz
2020-07-27 14:04 ` Eric Blake
2020-07-27 14:52 ` Nir Soffer
2020-07-27 15:12 ` Nir Soffer
2020-07-26 15:25 ` [PATCH 2/2] qemu-iotests: Test convert to qcow2 compressed to NBD Nir Soffer
2020-07-27 10:04 ` Max Reitz
2020-07-27 14:14 ` Eric Blake
2020-07-27 14:35 ` Nir Soffer
2020-07-27 14:41 ` Eric Blake
2020-07-27 14:44 ` Nir Soffer
2020-07-27 14:44 ` Nir Soffer
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=20200726152532.256261-1-nsoffer@redhat.com \
--to=nirsof@gmail.com \
--cc=kwolf@redhat.com \
--cc=mreitz@redhat.com \
--cc=nsoffer@redhat.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).