qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v2 0/2] qemu-img: fix getting stuck in infinite loop on in-chain


From: Andrey Drobyshev
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

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]