Fam Zheng f6b61e54bd 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>
2013-08-22 15:35:58 +02:00
..
2013-06-28 09:20:27 +02:00
2013-08-19 15:52:19 +02:00
2013-08-19 15:52:19 +02:00
2013-08-19 15:52:19 +02:00
2013-08-19 15:52:19 +02:00
2013-06-28 09:20:27 +02:00
2013-08-19 15:52:19 +02:00
2013-06-24 10:25:17 +02:00
2013-06-24 10:25:17 +02:00
2013-08-22 14:10:21 +02:00
2013-08-12 09:15:11 -05:00
2013-08-19 15:52:19 +02:00
2013-08-19 15:52:19 +02:00
2013-08-19 15:52:19 +02:00
2013-06-28 10:21:00 +02:00