[PATCH v5 0/1] qcow2: add a way to repair bitmaps

Jean-Louis Dupond posted 1 patch 1 week ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260522224335.1286291-1-jean-louis@dupond.be
Maintainers: Kevin Wolf <kwolf@redhat.com>, Hanna Reitz <hreitz@redhat.com>, Eric Blake <eblake@redhat.com>, Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>, John Snow <jsnow@redhat.com>
block/qcow2-bitmap.c   | 42 +++++++++++++++++++++++++++++++++++++++---
block/qcow2-refcount.c |  3 ++-
block/qcow2.c          | 16 ++++++++++++----
block/qcow2.h          |  3 ++-
4 files changed, 55 insertions(+), 9 deletions(-)
[PATCH v5 0/1] qcow2: add a way to repair bitmaps
Posted by Jean-Louis Dupond 1 week ago
A v5 (and hopefully final :)) version of the patch.

The only change since v4 is that QSIMPLEQ_FOREACH is replaced by QSIMPLEQ_FOREACH_SAFE.
This to avoid a use after free when we free the 'bm' in the loop.

Thanks
Jean-Louis

Jean-Louis Dupond (1):
  qcow2: add functionality to repair bitmaps

 block/qcow2-bitmap.c   | 42 +++++++++++++++++++++++++++++++++++++++---
 block/qcow2-refcount.c |  3 ++-
 block/qcow2.c          | 16 ++++++++++++----
 block/qcow2.h          |  3 ++-
 4 files changed, 55 insertions(+), 9 deletions(-)

-- 
2.54.0