[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Fragile MAX_OP_PER_INSTR
From: |
Edgar E. Iglesias |
Subject: |
Re: [Qemu-devel] Fragile MAX_OP_PER_INSTR |
Date: |
Tue, 6 May 2008 14:39:13 +0200 |
User-agent: |
Mutt/1.5.16 (2007-06-09) |
On Tue, Apr 22, 2008 at 12:19:06PM +0200, Jan Kiszka wrote:
> Hi,
>
> we ran into a weird SEGFAULT of QEMU which turned out to be a corruption
> of tcg_ctx due to writing beyond gen_opc_buf. The reason for this was a
> too small MAX_OP_PER_INSTR, given a particular toolchain (here the one
> of SLES 10 for x86-32). So far it runs fine with
>
> #define MAX_OP_PER_INSTR 64
>
> Does anyone have an idea how to resolve the related comment in exec-all.h?
>
> /* XXX: make safe guess about sizes */
>
> Or should we just increase the safety margin?
Hi Jan,
I'm seeing this too, 64 seems to be enough for CRIS aswell. Unless someone has
a better suggestion I think we should increase it.
Best regards
--
Edgar E. Iglesias
Axis Communications AB
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] Fragile MAX_OP_PER_INSTR,
Edgar E. Iglesias <=