From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=45818 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OSCxm-0003Zj-Rs for qemu-devel@nongnu.org; Fri, 25 Jun 2010 13:45:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OSAL0-0005vJ-3U for qemu-devel@nongnu.org; Fri, 25 Jun 2010 10:57:05 -0400 Received: from david.siemens.de ([192.35.17.14]:16263) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OSAKz-0005uD-JU for qemu-devel@nongnu.org; Fri, 25 Jun 2010 10:57:02 -0400 From: Jan Kiszka Date: Fri, 25 Jun 2010 16:56:48 +0200 Message-Id: Subject: [Qemu-devel] [PATCH 0/8] Fix various IO-thread breakages List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, Anthony Liguori Cc: Glauber Costa , Marcelo Tosatti , Avi Kivity , Alexander Graf This series unbreaks -smp >1 and guest debugging in CONFIG_IOTHREAD mode. I still find the SMP scheduling in cpu_exec_all suboptimal, but at least it works now. Dependencies are: http://thread.gmane.org/gmane.comp.emulators.kvm.devel/52718 (kvm queue) http://thread.gmane.org/gmane.comp.emulators.qemu/75087 The full series can be found at git://git.kiszka.org/qemu.git queues/iothread Jan Kiszka (8): Introduce proper compiler barrier Fix cpu_unlink_tb race Init qemu_system_cond Fix cpu_exit for tcp_cpu_exec Fix qemu_wait_io_event processing in io-thread mode Drop redundant global cur_cpu variable Rename tcg_cpu_exec and tcg_has_work Rework debug exception processing for gdb use cpu-exec.c | 15 +++++++------ cpus.c | 58 +++++++++++++++++++++++++++++++++---------------------- cpus.h | 2 +- kvm-all.c | 2 - qemu-barrier.h | 3 ++ vl.c | 2 +- 6 files changed, 48 insertions(+), 34 deletions(-)