qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] qemu-img: fix getting stuck in infinite loop on in-chain rebase
@ 2023-05-25 18:02 Andrey Drobyshev via
  2023-05-25 18:02 ` [PATCH v2 1/2] qemu-img: rebase: stop when reaching EOF of old backing file Andrey Drobyshev via
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Andrey Drobyshev via @ 2023-05-25 18:02 UTC (permalink / raw)
  To: qemu-block; +Cc: qemu-devel, kwolf, shmuel.eiderman, andrey.drobyshev, den

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-06-01 20:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-25 18:02 [PATCH v2 0/2] qemu-img: fix getting stuck in infinite loop on in-chain rebase Andrey Drobyshev via
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

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).