]> Git Repo - qemu.git/commit
vmdk: use heap allocation for whole_grain
authorFam Zheng <[email protected]>
Tue, 6 Aug 2013 07:44:54 +0000 (15:44 +0800)
committerKevin Wolf <[email protected]>
Tue, 6 Aug 2013 13:27:32 +0000 (15:27 +0200)
commitbf81507de38fdfa4cb6e9b46fb38691a25cb1499
tree51b9802cac18b54748b65020e0d3d74ffdda3c94
parent2c43e43c8cec130fff95ef720a860e91efb36685
vmdk: use heap allocation for whole_grain

We should never grow the stack beyond 1 MB, otherwise we'll fall off the
end.  Thread stacks and coroutine stacks (1 MB) do not grow.
get_cluster_offset() allocates a big stack offset, it will fail for big
cluster images, change to heap allocated buffer.

Signed-off-by: Fam Zheng <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
block/vmdk.c
This page took 0.026416 seconds and 4 git commands to generate.