diff options
Diffstat (limited to 'vl.c')
-rw-r--r-- | vl.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -876,7 +876,9 @@ static void host_alarm_handler(int host_signum) /* stop the cpu because a timer occured */ cpu_interrupt(global_env, CPU_INTERRUPT_EXIT); #ifdef USE_KQEMU - kqemu_cpu_interrupt(global_env); + if (global_env->kqemu_enabled) { + kqemu_cpu_interrupt(global_env); + } #endif } } |