summary refs log tree commit diff stats
path: root/hw/nand.c
diff options
context:
space:
mode:
authorCharles Arnold <carnold@suse.com>2011-11-09 09:32:25 -0700
committerKevin Wolf <kwolf@redhat.com>2011-11-11 14:02:58 +0100
commit78439f6af1caa3e8bdafc9fc2d62aeefa53ed63a (patch)
tree432dd134df4d472859650287958aee7b95006bff /hw/nand.c
parent802ddc375acabf06c0cb5a2716ca3573bc9ca89f (diff)
downloadfocaccia-qemu-78439f6af1caa3e8bdafc9fc2d62aeefa53ed63a.tar.gz
focaccia-qemu-78439f6af1caa3e8bdafc9fc2d62aeefa53ed63a.zip
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: Charles Arnold <carnold@suse.com>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/nand.c')
0 files changed, 0 insertions, 0 deletions