summaryrefslogtreecommitdiffstats
path: root/backends
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2013-08-19 18:54:26 +0800
committerStefan Hajnoczi <stefanha@redhat.com>2013-08-22 15:35:58 +0200
commitf6b61e54bdd5b9ef46837c15547e1819b3bb4f37 (patch)
tree01ed9d930835c0790c7f99ef0fbecfaf8e481e36 /backends
parentb0651b8c246d0d9e6ad0831b3e34fd756016ad7e (diff)
downloadhqemu-f6b61e54bdd5b9ef46837c15547e1819b3bb4f37.zip
hqemu-f6b61e54bdd5b9ef46837c15547e1819b3bb4f37.tar.gz
vmdk: fix L1 and L2 table size in vmdk3 open
VMDK3 header has the field l1dir_size, but vmdk_open_vmdk3 hardcoded the value. This patch honors the header field. And the L2 table size is 4096 according to VMDK spec[1], instead of 1 << 9 (512). [1]: http://www.vmware.com/support/developer/vddk/vmdk_50_technote.pdf?src=vmdk Signed-off-by: Fam Zheng <famz@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'backends')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud