]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
accel/tcg: Use cpu_is_stopped() helper to access CPUState::stopped
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 26 Aug 2025 04:54:12 +0000 (06:54 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 3 Nov 2025 10:59:32 +0000 (11:59 +0100)
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20250925025520.71805-5-philmd@linaro.org>

accel/tcg/tcg-accel-ops-rr.c

index 2fb464399710bc04f4fbd6112087e1161fa0a26e..f84342e0449196819c11bea92a1156d1f7f4264a 100644 (file)
@@ -197,7 +197,7 @@ static void *rr_cpu_thread_fn(void *arg)
     qemu_guest_random_seed_thread_part2(cpu->random_seed);
 
     /* wait for initial kick-off after machine start */
-    while (first_cpu->stopped) {
+    while (cpu_is_stopped(first_cpu)) {
         qemu_cond_wait_bql(first_cpu->halt_cond);
 
         /* process any pending work */