diff options
| author | Edgar E. Iglesias | 2014-02-13 06:07:14 +0100 |
|---|---|---|
| committer | Andreas Färber | 2014-03-13 19:01:48 +0100 |
| commit | 9d111183d5d67be6252dd4a4e688ef4ad323f817 (patch) | |
| tree | 769c8a6895cee6c5d95e089d590c442316e9e250 | |
| parent | Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into ... (diff) | |
| download | qemu-9d111183d5d67be6252dd4a4e688ef4ad323f817.tar.gz qemu-9d111183d5d67be6252dd4a4e688ef4ad323f817.tar.xz qemu-9d111183d5d67be6252dd4a4e688ef4ad323f817.zip | |
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>
| -rw-r--r-- | qom/cpu.c | 1 |
1 files changed, 0 insertions, 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; |
