diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2011-03-12 17:44:04 +0100 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2011-03-13 14:44:22 +0000 |
commit | 8cf3f22b77df4aa2a21bd93937b800f08b90e69c (patch) | |
tree | 87b1b02e40e21e98f050d60c42beffa8ad00ebc6 /cpus.c | |
parent | 18a857280d7a945c9fd4034dc2722fd8c2dfb946 (diff) | |
download | qemu-8cf3f22b77df4aa2a21bd93937b800f08b90e69c.zip qemu-8cf3f22b77df4aa2a21bd93937b800f08b90e69c.tar.gz qemu-8cf3f22b77df4aa2a21bd93937b800f08b90e69c.tar.bz2 |
iothread stops the vcpu thread via IPI
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'cpus.c')
-rw-r--r-- | cpus.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |