diff options
author | Markus Armbruster <armbru@redhat.com> | 2020-12-17 17:20:01 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2020-12-18 12:43:26 +0100 |
commit | 275734e4794bb7a3d73f7517fbd769727f2479af (patch) | |
tree | e53e5cc83e626cd0f56bec9e82cc57024ee96cb6 /qemu-options-wrapper.h | |
parent | 3d6101a3f2c88176b3abfe60b0759a75243d0592 (diff) |
block/vpc: Pad VHDFooter, replace uint8_t[] buffers
Pad VHDFooter as specified in the "Virtual Hard Disk Image Format
Specification" version 1.0[*]. Change footer buffers from
uint8_t[HEADER_SIZE] to VHDFooter. Their size remains the same.
The VHDFooter * variables pointing to a VHDFooter variable right next
to it are now silly. Eliminate them, and shorten the remaining
variables' names.
Most variables pointing to s->footer are now also silly. Eliminate
them, too.
[*] http://download.microsoft.com/download/f/f/e/ffef50a5-07dd-4cf8-aaa3-442c0673a029/Virtual%20Hard%20Disk%20Format%20Spec_10_18_06.doc
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20201217162003.1102738-8-armbru@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-options-wrapper.h')
0 files changed, 0 insertions, 0 deletions