commit | ea54feff58efedc809641474b25a3130309678e7 | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Wed May 07 16:56:10 2014 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Mon May 19 11:36:49 2014 +0200 |
tree | 637ecb7e2b1379f5d1073675b271d19efdd382bc | |
parent | 0a86cb731758a7167374ca68735125ce81211002 [diff] |
qcow1: Make padding in the header explicit We were relying on all compilers inserting the same padding in the header struct that is used for the on-disk format. Let's not do that. Mark the struct as packed and insert an explicit padding field for compatibility. Cc: qemu-stable@nongnu.org Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Benoit Canet <benoit@irqsave.net>