On 8/19/26 07:56, Philippe Mathieu-Daudé wrote:
EXCP_HALTED is defined and documented in "exec/cpu-common.h" as:

  #define EXCP_HALTED 0x10003 /* cpu is halted (waiting for external event) */

Since vCPUs can not be halted in user-mode emulation, guard the
whole block within !CONFIG_USER_ONLY section. No logic changes.

Signed-off-by: Philippe Mathieu-Daudé<[email protected]>
---
  accel/tcg/cpu-exec.c | 6 ++++--
  1 file changed, 4 insertions(+), 2 deletions(-)

Reviewed-by: Richard Henderson <[email protected]>

r~

Reply via email to