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