summary refs log tree commit diff stats
path: root/scripts/qapi.py
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2014-05-07 16:56:10 +0200
committerKevin Wolf <kwolf@redhat.com>2014-05-19 11:36:49 +0200
commitea54feff58efedc809641474b25a3130309678e7 (patch)
tree637ecb7e2b1379f5d1073675b271d19efdd382bc /scripts/qapi.py
parent0a86cb731758a7167374ca68735125ce81211002 (diff)
downloadfocaccia-qemu-ea54feff58efedc809641474b25a3130309678e7.tar.gz
focaccia-qemu-ea54feff58efedc809641474b25a3130309678e7.zip
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>
Diffstat (limited to 'scripts/qapi.py')
0 files changed, 0 insertions, 0 deletions