Commit eba01623abd1e788e6fb5c104f31973fc31c5fa4
1 parent
a57f6316
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
Showing
1 changed file
with
2 additions
and
0 deletions
cpu-exec.c
| @@ -354,6 +354,8 @@ int cpu_exec(CPUState *env1) | @@ -354,6 +354,8 @@ int cpu_exec(CPUState *env1) | ||
| 354 | env->exception_is_int, | 354 | env->exception_is_int, |
| 355 | env->error_code, | 355 | env->error_code, |
| 356 | env->exception_next_eip); | 356 | env->exception_next_eip); |
| 357 | + /* successfully delivered */ | ||
| 358 | + env->old_exception = -1; | ||
| 357 | #endif | 359 | #endif |
| 358 | ret = env->exception_index; | 360 | ret = env->exception_index; |
| 359 | break; | 361 | break; |