sim-card
/
qemu
Archived
10
0
Fork 0

kqemu_enabled test

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1567 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
bellard 2005-09-03 21:33:43 +00:00
parent a332e112b7
commit 8289336c98
1 changed files with 3 additions and 1 deletions

4
vl.c
View File

@ -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
}
}