mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
cpu: Don't clear cpu->exit_request on reset
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.iglesias@xilinx.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
parent
57fac92c2d
commit
9d111183d5
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue