diff --git a/target-i386/helper2.c b/target-i386/helper2.c index cbf17caa11..8ce5425830 100644 --- a/target-i386/helper2.c +++ b/target-i386/helper2.c @@ -155,6 +155,8 @@ void cpu_reset(CPUX86State *env) tlb_flush(env, 1); + env->old_exception = -1; + /* init to reset state */ #ifdef CONFIG_SOFTMMU