diff options
author | Jeff Cody <jcody@redhat.com> | 2013-09-25 12:08:50 -0400 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2013-09-25 20:51:13 +0200 |
commit | c4217f645dfdfd405cd0c50af953515e1114436a (patch) | |
tree | 10c54129685ed5c7347c5746a3674356f254dbbc /dma-helpers.c | |
parent | e54835c06d1f4896941c1505a86532aa1403ebe8 (diff) |
block: qcow2 - used QEMU_PACKED for on-disk structures
QCowHeader and QCowExtension are structs that reside in the on-disk
image format, and are read and written directly via bdrv_pread()/write(),
and as such should be packed to avoid any unintentional struct padding.
Signed-off-by: Jeff Cody <jcody@redhat.com>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'dma-helpers.c')
0 files changed, 0 insertions, 0 deletions