commit | 0e69c543946957fe8450ebb13874bb1ef280d55b | [log] [tgz] |
---|---|---|
author | Fam Zheng <famcool@gmail.com> | Tue Jul 12 19:56:29 2011 +0800 |
committer | Kevin Wolf <kwolf@redhat.com> | Tue Jul 19 15:39:06 2011 +0200 |
tree | 0c477bf0bcbbfb10c6681ced70f34570312c7c38 | |
parent | b3976d3c8b895e8929d133b80ef5e373b60cf357 [diff] |
VMDK: bugfix, align offset to cluster in get_whole_cluster In get_whole_cluster, the offset is not aligned to cluster when reading from backing_hd. When the first write to child is not at the cluster boundary, wrong address data from parent is copied to child. Signed-off-by: Fam Zheng <famcool@gmail.com> Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>