]> git.proxmox.com Git - qemu.git/commit
block/vpc: write checksum back to footer after check
authorZhang Shengju <zhangsju@gmail.com>
Tue, 13 Mar 2012 14:38:13 +0000 (22:38 +0800)
committerKevin Wolf <kwolf@redhat.com>
Thu, 5 Apr 2012 12:54:40 +0000 (14:54 +0200)
commitc088b691363070d151f80cc1fde4b7c151bdfe8f
tree8f8d6031b7763fedea91e89a5007b5c4b0d00784
parent95ebda85e09ed2b7f00deb2adbdafa5ccf5db948
block/vpc: write checksum back to footer after check

After validation check, the 'checksum' is not written back
to footer, which leave it with zero.

This results in errors while loadding it under Microsoft's
Hyper-V environment, and also errors from utilities like
Citrix's vhd-util.

Signed-off-by: Zhang Shengju <sean_zhang@trendmicro.com.cn>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/vpc.c