diff --git a/qemu/target-i386/helper.c b/qemu/target-i386/helper.c index 4a30f3e1..36238d2a 100644 --- a/qemu/target-i386/helper.c +++ b/qemu/target-i386/helper.c @@ -514,6 +514,8 @@ int x86_cpu_handle_mmu_fault(CPUState *cs, vaddr addr, env->error_code = (is_write << PG_ERROR_W_BIT); env->error_code |= PG_ERROR_U_MASK; cs->exception_index = EXCP0E_PAGE; + env->exception_is_int = 0; + env->exception_next_eip = -1; return 1; }