From: Philippe Mathieu-Daudé Date: Tue, 15 Jul 2025 09:28:10 +0000 (+0200) Subject: Revert "accel/tcg: Unregister the RCU before exiting RR thread" X-Git-Tag: v10.1.0-rc0~12^2~8 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=2d7dc398ab48d09386c718708b43bd431758f1a4;p=thirdparty%2Fqemu.git Revert "accel/tcg: Unregister the RCU before exiting RR thread" This reverts commit bc93332fe460211c2d2f4ff50e1a0e030c7b5159, which was merged prematurely, re-introducing Coverity CID 1547782 (unreachable code). Reported-by: Peter Maydell Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Manos Pitsidianakis Reviewed-by: Richard Henderson Message-Id: <20250715104015.72663-2-philmd@linaro.org> --- diff --git a/accel/tcg/tcg-accel-ops-rr.c b/accel/tcg/tcg-accel-ops-rr.c index a578698d07..6eec5c9eee 100644 --- a/accel/tcg/tcg-accel-ops-rr.c +++ b/accel/tcg/tcg-accel-ops-rr.c @@ -302,8 +302,6 @@ static void *rr_cpu_thread_fn(void *arg) rr_deal_with_unplugged_cpus(); } - rcu_unregister_thread(); - g_assert_not_reached(); }