diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-09-03 21:33:43 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-09-03 21:33:43 +0000 |
commit | 8289336c9867f227c2ae7f037904e83480a476c6 (patch) | |
tree | b3a510ac456f67c4444eeacbe2bd2c7590368a2a | |
parent | a332e112b73d641ca603066e46bb5b05d6c054fc (diff) |
kqemu_enabled test
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1567 c046a42c-6fe2-441c-8c8c-71466251a162
-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 } } |