From eba01623abd1e788e6fb5c104f31973fc31c5fa4 Mon Sep 17 00:00:00 2001 From: bellard Date: Mon, 12 May 2008 12:04:40 +0000 Subject: [PATCH] the double/triple fault handling was not tested in user mode. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4435 c046a42c-6fe2-441c-8c8c-71466251a162 --- cpu-exec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cpu-exec.c b/cpu-exec.c index 8d70c89a9c..bad0805d9f 100644 --- a/cpu-exec.c +++ b/cpu-exec.c @@ -354,6 +354,8 @@ int cpu_exec(CPUState *env1) env->exception_is_int, env->error_code, env->exception_next_eip); + /* successfully delivered */ + env->old_exception = -1; #endif ret = env->exception_index; break; -- GitLab