qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 17/21] iothread stops the vcpu thread via IPI


From: Paolo Bonzini
Subject: [Qemu-devel] [PATCH 17/21] iothread stops the vcpu thread via IPI
Date: Mon, 21 Feb 2011 09:43:36 +0100

Signed-off-by: Paolo Bonzini <address@hidden>
---
 cpus.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/cpus.c b/cpus.c
index ee9999b..1b6893d 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);
-- 
1.7.3.5





reply via email to

[Prev in Thread] Current Thread [Next in Thread]