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

Daniel P. Berrangé posted 2 patches 5 years, 2 months ago
Test asan passed
Test docker-clang@ubuntu failed
Test docker-mingw@fedora passed
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20190219125044.5416-1-berrange@redhat.com
Maintainers: Kevin Wolf <kwolf@redhat.com>, Max Reitz <mreitz@redhat.com>
block/qcow2.c | 9 +++++++++
1 file changed, 9 insertions(+)
[Qemu-devel] [PATCH 0/2] qcow2: improve error handling when luks creation fails
Posted by Daniel P. Berrangé 5 years, 2 months ago
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(+)

-- 
2.20.1