diff options
| author | TeLeMan <geleman@gmail.com> | 2010-02-08 16:20:00 +0800 |
|---|---|---|
| committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-02-10 14:00:53 -0600 |
| commit | d6771bfa52744eb4f959198b4b0e59451463eebf (patch) | |
| tree | e90f754078a6c075deb3b902e84255cd08e0b310 /hw/scsi-disk.c | |
| parent | 6265eb26a375179f193f792e4f0d49036d2cf052 (diff) | |
| download | focaccia-qemu-d6771bfa52744eb4f959198b4b0e59451463eebf.tar.gz focaccia-qemu-d6771bfa52744eb4f959198b4b0e59451463eebf.zip | |
qemu-img: use the heap instead of the huge stack array for win32
The default stack size of PE is 1MB on win32 and IO_BUF_SIZE in img_convert() & img_rebase() is 2MB, so qemu-img will crash when doing "convert" & "rebase" on win32. Although we can improve the stack size of PE to resolve it, I think we should avoid using the huge stack variables. Signed-off-by: TeLeMan <geleman@gmail.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/scsi-disk.c')
0 files changed, 0 insertions, 0 deletions