diff options
author | 2016-01-26 11:58:58 +0800 | |
---|---|---|
committer | 2016-02-02 17:50:47 +0100 | |
commit | d0a18f10251f515c86dcaec5bdf979a4e07fafc5 (patch) | |
tree | 6faef7830e2c1b94584aff25d92a9cbdcfaebf2b /slirp/tcp_input.c | |
parent | vpc: Assign bs->file->bs to file in vpc_co_get_block_status (diff) | |
download | qemu-d0a18f10251f515c86dcaec5bdf979a4e07fafc5.tar.xz qemu-d0a18f10251f515c86dcaec5bdf979a4e07fafc5.zip |
vmdk: Fix calculation of block status's offset
"offset" is the offset of cluster and sector_num doesn't necessarily
refer to the start of it, it should add index_in_cluster.
Signed-off-by: Fam Zheng <famz@redhat.com>
Message-id: 1453780743-16806-12-git-send-email-famz@redhat.com
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'slirp/tcp_input.c')
0 files changed, 0 insertions, 0 deletions