aboutsummaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-09-03 21:33:43 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-09-03 21:33:43 +0000
commit8289336c9867f227c2ae7f037904e83480a476c6 (patch)
treeb3a510ac456f67c4444eeacbe2bd2c7590368a2a /vl.c
parenta332e112b73d641ca603066e46bb5b05d6c054fc (diff)
kqemu_enabled test
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1567 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/vl.c b/vl.c
index ea46bdc9c1..e7cd9668f5 100644
--- a/vl.c
+++ b/vl.c
@@ -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
}
}