qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Fragile MAX_OP_PER_INSTR
@ 2008-04-22 10:19 Jan Kiszka
  2008-05-06 12:39 ` Edgar E. Iglesias
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Kiszka @ 2008-04-22 10:19 UTC (permalink / raw)
  To: qemu-devel

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?

Jan

-- 
Siemens AG, Corporate Technology, CT SE 2
Corporate Competence Center Embedded Linux

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-05-06 12:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-22 10:19 [Qemu-devel] Fragile MAX_OP_PER_INSTR Jan Kiszka
2008-05-06 12:39 ` Edgar E. Iglesias

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).