mbox series

[0/2] qcow2: improve error handling when luks creation fails

Message ID 20190219125044.5416-1-berrange@redhat.com (mailing list archive)
Headers show
Series qcow2: improve error handling when luks creation fails | expand

Message

Daniel P. Berrangé Feb. 19, 2019, 12:50 p.m. UTC
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(+)