|
@@ -369,16 +369,8 @@ int cpu_exec(CPUState *env1)
|
|
|
#endif
|
|
|
|
|
|
if (kvm_enabled()) {
|
|
|
- int ret;
|
|
|
- ret = kvm_cpu_exec(env);
|
|
|
- if ((env->interrupt_request & CPU_INTERRUPT_EXIT)) {
|
|
|
- env->interrupt_request &= ~CPU_INTERRUPT_EXIT;
|
|
|
- env->exception_index = EXCP_INTERRUPT;
|
|
|
- cpu_loop_exit();
|
|
|
- } else if (env->halted) {
|
|
|
- cpu_loop_exit();
|
|
|
- } else
|
|
|
- longjmp(env->jmp_env, 1);
|
|
|
+ kvm_cpu_exec(env);
|
|
|
+ longjmp(env->jmp_env, 1);
|
|
|
}
|
|
|
|
|
|
next_tb = 0; /* force lookup of first TB */
|