]> www.infradead.org Git - users/dwmw2/qemu.git/commit
cpu: move Qemu[Thread|Cond] setup into common code
authorAlex Bennée <alex.bennee@linaro.org>
Thu, 30 May 2024 19:42:47 +0000 (20:42 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 4 Jun 2024 08:02:39 +0000 (10:02 +0200)
commita4c2735f35b8b2bca5784ff9bf754a99b654c9a8
tree5eac56cd5d5602122b8289d128f0ff12597da082
parentb8a208ccf51013a88eb410a7820a4951834a913f
cpu: move Qemu[Thread|Cond] setup into common code

Aside from the round robin threads this is all common code. By
moving the halt_cond setup we also no longer need hacks to work around
the race between QOM object creation and thread creation.

It is a little ugly to free stuff up for the round robin thread but
better it deal with its own specialises than making the other
accelerators jump through hoops.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-ID: <20240530194250.1801701-3-alex.bennee@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
accel/dummy-cpus.c
accel/hvf/hvf-accel-ops.c
accel/kvm/kvm-accel-ops.c
accel/tcg/tcg-accel-ops-mttcg.c
accel/tcg/tcg-accel-ops-rr.c
hw/core/cpu-common.c
include/hw/core/cpu.h
target/i386/nvmm/nvmm-accel-ops.c
target/i386/whpx/whpx-accel-ops.c