[PATCH v2 0/2] qemu-img convert: Unshare write permission for source

Kevin Wolf posted 2 patches 3 years ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20210422164344.283389-1-kwolf@redhat.com
Maintainers: Max Reitz <mreitz@redhat.com>, Kevin Wolf <kwolf@redhat.com>
include/block/block.h |  1 +
block/block-backend.c | 19 +++++++++++++------
qemu-img.c            |  2 +-
3 files changed, 15 insertions(+), 7 deletions(-)
[PATCH v2 0/2] qemu-img convert: Unshare write permission for source
Posted by Kevin Wolf 3 years ago
v2:
- Still share BLK_PERM_CONSISTENT_READ. It doesn't hurt users that don't
  want their image modified in parallel and it fixes some use cases
  covered by iotests.

Kevin Wolf (2):
  block: Add BDRV_O_NO_SHARE for blk_new_open()
  qemu-img convert: Unshare write permission for source

 include/block/block.h |  1 +
 block/block-backend.c | 19 +++++++++++++------
 qemu-img.c            |  2 +-
 3 files changed, 15 insertions(+), 7 deletions(-)

-- 
2.30.2