qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [CFT PATCH 12/12] iothread stops the vcpu thread via IPI


From: Paolo Bonzini
Subject: [Qemu-devel] [CFT PATCH 12/12] iothread stops the vcpu thread via IPI
Date: Tue, 8 Feb 2011 18:18:29 +0100

This "if" has no reason to exist in the iothread world, and it breaks
Wine because of the slowness of the thread primitives there.

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 67fd672..3d74ad7 100644
--- a/cpus.c
+++ b/cpus.c
@@ -1053,8 +1053,10 @@ 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)) {
             r = qemu_cpu_exec(env);
             if (kvm_enabled()) {
-- 
1.7.3.5




reply via email to

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