[Qemu-devel] [PATCH 0/4] block: Fix permission during reopen

Fam Zheng posted 4 patches 6 years, 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20180309080910.7274-1-famz@redhat.com
Test checkpatch passed
Test docker-build@min-glib passed
Test docker-mingw@fedora passed
Test docker-quick@centos6 passed
Test ppcbe passed
Test ppcle passed
Test s390x passed
There is a newer version of this series
block.c                    | 52 +++++++++++++++++++++++++++++-----------------
block/block-backend.c      |  3 ++-
block/vvfat.c              |  3 ++-
include/block/block_int.h  |  3 ++-
tests/qemu-iotests/153     |  6 ++++++
tests/qemu-iotests/153.out |  4 ++++
6 files changed, 49 insertions(+), 22 deletions(-)
[Qemu-devel] [PATCH 0/4] block: Fix permission during reopen
Posted by Fam Zheng 6 years, 1 month ago
We write open the whole backing chain during reopen. It is not necessary and
will cause image locking problems if the backing image is shared.

Fam Zheng (4):
  block: Pass "current_flags" in BdrvChildRole.inherit_options
  block: Fix write flags in bdrv_backing_options
  block: Use the actual current_flags during reopen
  iotests: Add regression test for commit base locking

 block.c                    | 52 +++++++++++++++++++++++++++++-----------------
 block/block-backend.c      |  3 ++-
 block/vvfat.c              |  3 ++-
 include/block/block_int.h  |  3 ++-
 tests/qemu-iotests/153     |  6 ++++++
 tests/qemu-iotests/153.out |  4 ++++
 6 files changed, 49 insertions(+), 22 deletions(-)

-- 
2.14.3