accel/tcg: Use cpu_is_stopped() helper to access CPUState::stopped
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>
This commit is contained in:
parent
7ed514fbe4
commit
fc2380b568
1 changed files with 1 additions and 1 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue