From: Paolo Bonzini Date: Sat, 12 Mar 2011 16:44:04 +0000 (+0100) Subject: iothread stops the vcpu thread via IPI X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=8cf3f22b77df4aa2a21bd93937b800f08b90e69c;p=qemu.git iothread stops the vcpu thread via IPI Signed-off-by: Paolo Bonzini Signed-off-by: Blue Swirl --- diff --git a/cpus.c b/cpus.c index 430518441d..32e93527e4 100644 --- a/cpus.c +++ b/cpus.c @@ -1086,9 +1086,11 @@ bool cpu_exec_all(void) qemu_clock_enable(vm_clock, (env->singlestep_enabled & SSTEP_NOTIMER) == 0); +#ifndef CONFIG_IOTHREAD if (qemu_alarm_pending()) { break; } +#endif if (cpu_can_run(env)) { if (kvm_enabled()) { r = kvm_cpu_exec(env);