commit | f16f509d17de295300404f94598b558ac5b8cfdd | [log] [tgz] |
---|---|---|
author | Fam Zheng <famcool@gmail.com> | Fri Aug 12 23:19:33 2011 +0800 |
committer | Kevin Wolf <kwolf@redhat.com> | Tue Sep 06 12:33:03 2011 +0200 |
tree | ba33fa9d48417cbb80d022b5ba2d8b5192b85f73 | |
parent | 6c031aac4d697d7acbfd5eaa73f47d494cee9937 [diff] |
VMDK: bugfix, open Haiku vmdk image Haiku provides a specially formed vmdk image, which let qemu abort. It a combination of sparse header and flat data (i.e. with not l1/l2 table at all). The fix is turn to descriptor when sparse header is zero in field 'capacity'. 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>