Commit f6ff0d1ffc for qemu.org

commit f6ff0d1ffc6cf3e24c092a3abf445318b08f8160
Author: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
Date:   Tue Jun 16 11:57:05 2026 +0200

    accel/tcg: Have cpu_loop_exit_requested() take const @cpu argument

    Since the CPUState argument is simply read-only accessed, make it const.

    Signed-off-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
    Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
    Message-Id: <20260617171438.75914-9-philmd@oss.qualcomm.com>

diff --git a/include/exec/cpu-common.h b/include/exec/cpu-common.h
index db67c7bb86..919ba41a01 100644
--- a/include/exec/cpu-common.h
+++ b/include/exec/cpu-common.h
@@ -73,7 +73,7 @@ void list_cpus(void);
  * call can be used to check if it makes sense to return to the main loop
  * or to continue executing the interruptible instruction.
  */
-static inline bool cpu_loop_exit_requested(CPUState *cpu)
+static inline bool cpu_loop_exit_requested(const CPUState *cpu)
 {
     return (int32_t)qatomic_read(&cpu->neg.icount_decr.u32) < 0;
 }