From 5016d1e521e6ea789a89d6ccca55a8f66c7cc15a Mon Sep 17 00:00:00 2001 From: Simon Schubert Date: Mon, 17 Aug 2009 01:43:08 +0200 Subject: [PATCH] test/amd64: increase qemu opcode buffer limits qemu 0.10.6 segfaults with the standard opcode buffer limits, so we have to increase them a bit to make it work. --- test/amd64/qemu.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/test/amd64/qemu.patch b/test/amd64/qemu.patch index 7486c45362..996d211a6f 100644 --- a/test/amd64/qemu.patch +++ b/test/amd64/qemu.patch @@ -92,3 +92,14 @@ index fa4093c..60e78d4 100644 #include /* This value has maximum potential at 16. +--- a/exec-all.h~ 2009-08-17 01:32:59 +0200 ++++ a/exec-all.h 2009-08-17 01:13:49 +0200 +@@ -35,7 +35,7 @@ + typedef struct TranslationBlock TranslationBlock; + + /* XXX: make safe guess about sizes */ +-#define MAX_OP_PER_INSTR 64 ++#define MAX_OP_PER_INSTR 80 + /* A Call op needs up to 6 + 2N parameters (N = number of arguments). */ + #define MAX_OPC_PARAM 10 + #define OPC_BUF_SIZE 512 -- 2.11.4.GIT