Skip to content

Fix various IO-thread breakages

Jan Kiszka qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8Introduce proper compiler barriercpu-exec.c qemu-barrier.h+6 -20 replies
2/8Fix cpu_unlink_tb racecpu-exec.c+4 -30 replies
3/8Init qemu_system_condcpus.c+1 -00 replies
4/8Fix cpu_exit for tcp_cpu_execcpu-exec.c cpus.c+3 -30 replies
5/8Fix qemu_wait_io_event processing in io-thread modecpus.c+9 -40 replies
6/8Drop redundant global cur_cpu variablecpus.c+2 -30 replies
7/8Rename tcg_cpu_exec and tcg_has_workcpus.c cpus.h vl.c+7 -70 replies
8/8Rework debug exception processing for gdb usecpus.c kvm-all.c+16 -123 replies

Reviews trailers per patch

None of the 8 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPaolo BonziniMarcelo Tosatti
SeriesA-b R-b
1/8
2/8
3/8
4/8
5/8
6/8
7/8
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/8] Fix various IO-thread breakages

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(-)