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 (5): 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: cow - used QEMU_PACKED for on-disk structures block: qed - use QEMU_PACKED for on-disk structures block/cow.c | 21 +++++++++++---------- block/qcow2.c | 2 +- block/qcow2.h | 2 +- block/qed.h | 2 +- block/vdi.c | 2 +- block/vpc.c | 28 ++++++++++++++-------------- 6 files changed, 29 insertions(+), 28 deletions(-) -- 1.8.3.1