From 661714d0c20dd36a4acee85b053b4a6bb2e6afb1 Mon Sep 17 00:00:00 2001 From: farmdve Date: Fri, 13 Nov 2015 16:51:59 +0200 Subject: [PATCH] Potential fix for issue #262/#263 --- qemu/target-i386/translate.c | 1 + 1 file changed, 1 insertion(+) diff --git a/qemu/target-i386/translate.c b/qemu/target-i386/translate.c index efac8a6..cb7cd9e 100644 --- a/qemu/target-i386/translate.c +++ b/qemu/target-i386/translate.c @@ -8367,6 +8367,7 @@ static inline void gen_intermediate_code_internal(uint8_t *gen_opc_cc_op, gen_jmp_im(dc, tb->pc - tb->cs_base); gen_helper_hlt(tcg_ctx, tcg_ctx->cpu_env, tcg_const_i32(tcg_ctx, 0)); dc->is_jmp = DISAS_TB_JUMP; + pc_ptr = pc_start; goto done_generating; }