]> xenbits.xensource.com Git - libvirt.git/commit
qemu: domain: Forbid storage with old QCOW2 encryption
authorPeter Krempa <pkrempa@redhat.com>
Tue, 22 May 2018 12:53:06 +0000 (14:53 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 5 Jun 2018 06:14:00 +0000 (08:14 +0200)
commitc4eedd7930c8428660f3f0cd9e4cd7a872219f6b
tree40ce20008fa2bcc21d1d09f6c67c3001fbeebb12
parentc495905bff602c9b0db665f3cf5997721bfbff2b
qemu: domain: Forbid storage with old QCOW2 encryption

The encryption was buggy and qemu actually dropped it upstream. Forbid
it for all versions since it would cause other problems too.

Problems with the old encryption include weak crypto, corruption of
images with blockjobs and a lot of usability problems.

This requires changing of the encryption type for the encrypted disk
tests.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
docs/formatdomain.html.in
docs/formatstorageencryption.html.in
src/qemu/qemu_domain.c
tests/qemuxml2argvdata/encrypted-disk-usage.args
tests/qemuxml2argvdata/encrypted-disk-usage.xml
tests/qemuxml2argvdata/encrypted-disk.args
tests/qemuxml2argvdata/encrypted-disk.xml
tests/qemuxml2argvtest.c
tests/qemuxml2xmloutdata/encrypted-disk.xml
tests/qemuxml2xmltest.c