cpu: Don't clear cpu->exit_request on reset
commit9d111183d5d67be6252dd4a4e688ef4ad323f817
authorEdgar E. Iglesias <edgar.iglesias@xilinx.com>
Thu, 13 Feb 2014 05:07:14 +0000 (13 15:07 +1000)
committerAndreas Färber <afaerber@suse.de>
Thu, 13 Mar 2014 18:01:48 +0000 (13 19:01 +0100)
tree769c8a6895cee6c5d95e089d590c442316e9e250
parent57fac92c2d4487d5c45e1ca96df6790f96c9e64c
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>
qom/cpu.c