]> git.proxmox.com Git - mirror_qemu.git/commit
block: vpc - use QEMU_PACKED for on-disk structures
authorJeff Cody <jcody@redhat.com>
Wed, 25 Sep 2013 16:08:49 +0000 (12:08 -0400)
committerKevin Wolf <kwolf@redhat.com>
Wed, 25 Sep 2013 18:51:10 +0000 (20:51 +0200)
commite54835c06d1f4896941c1505a86532aa1403ebe8
tree9d08e79411034e9d68a9cdcda928d984f5495527
parent8368febd81cbf3cc71f5b0e92ef36e482dff37ca
block: vpc - use QEMU_PACKED for on-disk structures

The VHD footer and header structs (vhd_footer and vhd_dyndisk_header)
are on-disk structures for the image format, and as such should be
packed.

Go ahead and make these typedefs as well, with the preferred QEMU
naming convention, so that the packed attribute is used consistently
with the struct.

Signed-off-by: Jeff Cody <jcody@redhat.com>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/vpc.c