Skip to content
Commit 78439f6a authored by Charles Arnold's avatar Charles Arnold Committed by Kevin Wolf
Browse files

block: Fix vpc initialization of the Dynamic Disk Header



The Data Offset field in the Dynamic Disk Header is an 8 byte field.
Although the specification (2006-10-11) gives an example of initializing
only the first 4 bytes, images generated by Microsoft on Windows initialize
all 8 bytes.

Failure to initialize all 8 bytes results in errors from utilities
like Citrix's vhd-util which checks specifically for the proper Data
Offset field initialization.

Signed-off-by: default avatarCharles Arnold <carnold@suse.com>
Reviewed-by: default avatarAndreas Färber <afaerber@suse.de>
Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
parent 802ddc37
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment