Re: [PATCH for-9.2] accel/tcg: Remove dead code from rr_cpu_thread_fn()

2024-08-15 Thread Richard Henderson
On 8/16/24 00:36, Peter Maydell wrote: The main loop in rr_cpu_thread_fn() can never terminate, so the code at the end of the function to clean up the RCU subsystem is dead code. Replace it with g_assert_not_reached(). (This is different from the other cpu_thread_fn for e.g. MTTCG or for the KVM

[PATCH for-9.2] accel/tcg: Remove dead code from rr_cpu_thread_fn()

2024-08-15 Thread Peter Maydell
The main loop in rr_cpu_thread_fn() can never terminate, so the code at the end of the function to clean up the RCU subsystem is dead code. Replace it with g_assert_not_reached(). (This is different from the other cpu_thread_fn for e.g. MTTCG or for the KVM accelerator -- those can exit, if the vC