]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Use correct location for qcow1 encryption header
authorJán Tomko <jtomko@redhat.com>
Fri, 23 Jan 2015 12:29:48 +0000 (13:29 +0100)
committerJán Tomko <jtomko@redhat.com>
Mon, 26 Jan 2015 15:13:02 +0000 (16:13 +0100)
commit495accb047fe85dd17f181c2a19b34fd84ed89f5
treee7569f6a2549b2847bd4658992c8c33cfb432466
parent2d8b59c06007a50c93451a8bc7bfaee3926dc5a2
Use correct location for qcow1 encryption header

After the 8-byte size header, there are two one-byte headers
and two bytes of padding before the crypt_header field.

Our QCOW1_HDR_CRYPT constant did not skip the padding.
http://git.qemu.org/?p=qemu.git;a=blob;f=block/qcow.c;h=ece22697#l41

https://bugzilla.redhat.com/show_bug.cgi?id=1185165
src/util/virstoragefile.c