From: "Edgar E. Iglesias" <edgar.igles...@xilinx.com> cpu->exit_request is part of the execution environment and should not be cleared when a CPU resets.
Otherwise, we might deadlock QEMU if a CPU resets while there is I/O going on. Signed-off-by: Edgar E. Iglesias <edgar.igles...@xilinx.com> Reviewed-by: Peter Maydell <peter.mayd...@linaro.org> Signed-off-by: Andreas Färber <afaer...@suse.de> --- qom/cpu.c | 1 - 1 file changed, 1 deletion(-) diff --git a/qom/cpu.c b/qom/cpu.c index 9d62479..40d82dd 100644 --- a/qom/cpu.c +++ b/qom/cpu.c @@ -195,7 +195,6 @@ static void cpu_common_reset(CPUState *cpu) log_cpu_state(cpu, cc->reset_dump_flags); } - cpu->exit_request = 0; cpu->interrupt_request = 0; cpu->current_tb = NULL; cpu->halted = 0; -- 1.8.4.5