luks-encrypted QCOW2 files were introduced in qemu-2.6 unconditionally. Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx> --- src/qemu/qemu_domain.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/qemu/qemu_domain.c b/src/qemu/qemu_domain.c index 534de9e0ae..245cae9c60 100644 --- a/src/qemu/qemu_domain.c +++ b/src/qemu/qemu_domain.c @@ -5079,14 +5079,6 @@ qemuDomainValidateStorageSource(virStorageSource *src, src->encryption->engine); return -1; } - - if (src->format == VIR_STORAGE_FILE_QCOW2 && - src->encryption->format == VIR_STORAGE_ENCRYPTION_FORMAT_LUKS && - !virQEMUCapsGet(qemuCaps, QEMU_CAPS_QCOW2_LUKS)) { - virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s", - _("LUKS encrypted QCOW2 images are not supported by this QEMU")); - return -1; - } } if (src->tlsHostname) { -- 2.36.1