v2 changes: Dropped the "cow" format patch. This means "cow" is non-portable, but it keeps behavior the same on x86_64. (Richard Henderson)
Moved QEMU_PACKED to after the struct definition closing brace, to keep it more stylistically in-line with other QEMU_PACKED useage (Kevin Wolf) Original description: Several block image formats did not consistently use packed attributes when directly reading / writing structures from disk (mainly image format headers). These series updates the image formats (see list below), to use QEMU_PACKED for on-disk structs. (Some minor code cleanup may also have ensued, to keep checkpatch.pl happy) Jeff Cody (4): block: vdi - use QEMU_PACKED for on-disk structures block: vpc - use QEMU_PACKED for on-disk structures block: qcow2 - used QEMU_PACKED for on-disk structures block: qed - use QEMU_PACKED for on-disk structures block/qcow2.c | 2 +- block/qcow2.h | 2 +- block/qed.h | 2 +- block/vdi.c | 2 +- block/vpc.c | 28 ++++++++++++++-------------- 5 files changed, 18 insertions(+), 18 deletions(-) -- 1.8.3.1