diff options
author | Fam Zheng <famcool@gmail.com> | 2011-08-12 23:19:33 +0800 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2011-09-06 12:33:03 +0200 |
commit | f16f509d17de295300404f94598b558ac5b8cfdd (patch) | |
tree | ba33fa9d48417cbb80d022b5ba2d8b5192b85f73 /tcg | |
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>
Diffstat (limited to 'tcg')
0 files changed, 0 insertions, 0 deletions