From: Andrey Drobyshev via <qemu-devel@nongnu.org>
To: qemu-block@nongnu.org
Cc: qemu-devel@nongnu.org, kwolf@redhat.com,
shmuel.eiderman@oracle.com, andrey.drobyshev@virtuozzo.com,
den@virtuozzo.com
Subject: [PATCH v2 0/2] qemu-img: fix getting stuck in infinite loop on in-chain rebase
Date: Thu, 25 May 2023 21:02:11 +0300 [thread overview]
Message-ID: <20230525180213.902012-1-andrey.drobyshev@virtuozzo.com> (raw)
v1 -> v2:
* Avoid breaking the loop just yet, as the offsets beyond the old
backing size need to be explicitly zeroed;
* Amend the commit message accordingly;
* Alter the added test case to take the last zeroed cluster into
consideration.
v1: https://lists.nongnu.org/archive/html/qemu-block/2023-05/msg00674.html
Andrey Drobyshev (2):
qemu-img: rebase: stop when reaching EOF of old backing file
qemu-iotests: 024: add rebasing test case for overlay_size >
backing_size
qemu-img.c | 13 ++++++++-
tests/qemu-iotests/024 | 57 ++++++++++++++++++++++++++++++++++++++
tests/qemu-iotests/024.out | 30 ++++++++++++++++++++
3 files changed, 99 insertions(+), 1 deletion(-)
--
2.31.1
next reply other threads:[~2023-05-25 18:03 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-25 18:02 Andrey Drobyshev via [this message]
2023-05-25 18:02 ` [PATCH v2 1/2] qemu-img: rebase: stop when reaching EOF of old backing file Andrey Drobyshev via
2023-05-26 12:12 ` Denis V. Lunev
2023-05-25 18:02 ` [PATCH v2 2/2] qemu-iotests: 024: add rebasing test case for overlay_size > backing_size Andrey Drobyshev via
2023-05-26 12:13 ` Denis V. Lunev
2023-06-01 20:54 ` [PATCH v2 0/2] qemu-img: fix getting stuck in infinite loop on in-chain rebase Andrey Drobyshev
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=20230525180213.902012-1-andrey.drobyshev@virtuozzo.com \
--to=qemu-devel@nongnu.org \
--cc=andrey.drobyshev@virtuozzo.com \
--cc=den@virtuozzo.com \
--cc=kwolf@redhat.com \
--cc=qemu-block@nongnu.org \
--cc=shmuel.eiderman@oracle.com \
/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).