qemu-devel
[Top][All Lists]
Advanced

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

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


From: Fam Zheng
Subject: [Qemu-devel] [PATCH 0/4] block: Fix permission during reopen
Date: Fri, 9 Mar 2018 16:09:06 +0800

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




reply via email to

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