Skip to content

Fix for write sharing on luks raw images

Maxim Levitsky qemu-devel 1 version Applied

Status from this message: Thanks, applied to my block branch:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2block/crypto: disallow write sharing by defaultblock/crypto.c+1 -10 replies
2/2qemu-iotests: add testcase for bz #1857490tests/qemu-iotests/296 tests/qemu-iotests/296.out+53 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Fix for write sharing on luks raw images

A rebase gone wrong, and I ended up allowing a luks image
to be opened at the same time by two VMs without any warnings/overrides.

Fix that and also add an iotest to prevent this from happening.

Best regards,
Maxim Levisky

Maxim Levitsky (2):
block/crypto: disallow write sharing by default
qemu-iotests: add testcase for bz #1857490

 block/crypto.c             |  2 +-
 tests/qemu-iotests/296     | 44 +++++++++++++++++++++++++++++++++++++-
 tests/qemu-iotests/296.out | 12 +++++++++--
 3 files changed, 54 insertions(+), 4 deletions(-)
Signature · 1 line
2.26.2