[PATCH 0/3] qcow2: Fix image corruption bug in 4.1

Kevin Wolf posted 3 patches 4 years, 6 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20191023152620.13166-1-kwolf@redhat.com
Test docker-quick@centos7 failed
Test asan failed
Test checkpatch passed
Test FreeBSD passed
Test docker-mingw@fedora passed
Test docker-clang@ubuntu failed
Maintainers: Stefan Hajnoczi <stefanha@redhat.com>, Kevin Wolf <kwolf@redhat.com>, Max Reitz <mreitz@redhat.com>
There is a newer version of this series
include/qemu/coroutine.h | 7 +++++++
block/qcow2-cache.c      | 5 +++++
block/qcow2-refcount.c   | 2 ++
block/qcow2.c            | 3 ++-
4 files changed, 16 insertions(+), 1 deletion(-)
[PATCH 0/3] qcow2: Fix image corruption bug in 4.1
Posted by Kevin Wolf 4 years, 6 months ago
This series fixes an image corruption bug that was introduced in commit
69f47505e ('block: avoid recursive block_status call if possible'),
first contained in the QEMU 4.1.0 release.

This bug was reported by Michael Weiser on Launchpad:
https://bugs.launchpad.net/qemu/+bug/1846427

Kevin Wolf (3):
  coroutine: Add qemu_co_mutex_assert_locked()
  qcow2: Assert that qcow2_cache_get() callers hold s->lock
  qcow2: Fix corruption bug in qcow2_detect_metadata_preallocation()

 include/qemu/coroutine.h | 7 +++++++
 block/qcow2-cache.c      | 5 +++++
 block/qcow2-refcount.c   | 2 ++
 block/qcow2.c            | 3 ++-
 4 files changed, 16 insertions(+), 1 deletion(-)

-- 
2.20.1