Skip to content

qcow2: improve error handling when luks creation fails

Daniel P. Berrangé qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2qcow2: fail if encryption opts are provided to non-encrypted imageblock/qcow2.c+6 -03 replies
2/2qcow2: mark image as corrupt if failing during createblock/qcow2.c+3 -04 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchEric Blake
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/2] qcow2: improve error handling when luks creation fails

If qemu is built without crypto support luks creation will fail. The 188 iotest however still carried on using the partially created file. This showed a few flaws in error handling, one during creation and one during opening of the image.

Daniel P. Berrangé (2):
qcow2: fail if encryption opts are provided to non-encrypted image
qcow2: mark image as corrupt if failing during create

 block/qcow2.c | 9 +++++++++
 1 file changed, 9 insertions(+)
Signature · 1 line
2.20.1