[Qemu-devel] [PATCH for-4.0 0/3] freeze the backing chain earlier in stream_start()

Alberto Garcia posted 3 patches 5 years, 1 month ago
Test docker-mingw@fedora passed
Test docker-clang@ubuntu passed
Test asan passed
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/cover.1553619891.git.berto@igalia.com
Maintainers: Max Reitz <mreitz@redhat.com>, Kevin Wolf <kwolf@redhat.com>, John Snow <jsnow@redhat.com>
There is a newer version of this series
block.c                    | 21 ++++++++++++++-------
block/stream.c             | 13 +++++++------
tests/qemu-iotests/030     | 32 ++++++++++++++++++++++++++++++++
tests/qemu-iotests/030.out |  4 ++--
4 files changed, 55 insertions(+), 15 deletions(-)
[Qemu-devel] [PATCH for-4.0 0/3] freeze the backing chain earlier in stream_start()
Posted by Alberto Garcia 5 years, 1 month ago
Hi,

this series fixes the bug that I found the other day and described here:

   https://lists.gnu.org/archive/html/qemu-block/2019-03/msg00764.html
   https://lists.gnu.org/archive/html/qemu-block/2019-03/msg00791.html

Patch 2 is the important one, patch 3 is a test case, and patch 1 will
allow us to detect this kind of errors earlier.

Regards,

Berto

Alberto Garcia (3):
  block: continue until base is found in bdrv_freeze_backing_chain() et
    al
  block: freeze the backing chain earlier in stream_start()
  block: test block-stream with a base node that is used by block-commit

 block.c                    | 21 ++++++++++++++-------
 block/stream.c             | 13 +++++++------
 tests/qemu-iotests/030     | 32 ++++++++++++++++++++++++++++++++
 tests/qemu-iotests/030.out |  4 ++--
 4 files changed, 55 insertions(+), 15 deletions(-)

-- 
2.11.0