the double/triple fault handling was not tested in user mode.
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 12 May 2008 12:04:40 +0000 (12:04 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 12 May 2008 12:04:40 +0000 (12:04 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4435 c046a42c-6fe2-441c-8c8c-71466251a162

cpu-exec.c

index 8d70c89..bad0805 100644 (file)
@@ -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;