diff options
author | Markus Armbruster <armbru@redhat.com> | 2020-12-17 17:19:59 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2020-12-18 12:43:18 +0100 |
commit | e326f0783ed06ed7360f63c7223424cc1d910406 (patch) | |
tree | 215c81295aad75a2eb3f9b96b69407c91f789d7e /softmmu | |
parent | 7550379dedc4e0791ffadc3b18ac202fce51e21c (diff) |
block/vpc: Pad VHDDynDiskHeader, replace uint8_t[] buffers
Pad VHDDynDiskHeader as specified in the "Virtual Hard Disk Image
Format Specification" version 1.0[*]. Change dynamic disk header
buffers from uint8_t[1024] to VHDDynDiskHeader. Their size remains
the same.
The VHDDynDiskHeader * variables pointing to a VHDDynDiskHeader
variable right next to it are now silly. Eliminate them.
[*] 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-6-armbru@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'softmmu')
0 files changed, 0 insertions, 0 deletions