On 09/28/2017 04:36 PM, David Hildenbrand wrote: > If we encounter a WAIT PSW, we have to halt immediately. Using > cpu_loop_exit() at this point feels wrong. Simply leaving > cs->exception_index set doesn't result in an immediate stop. > > This is also necessary to properly handle SIGP STOP interrupts later. > > The CPU_INTERRUPT_HALT will be processed immediately and properly set > the CPU to halted (also resetting cs->exception_index to EXCP_HLT) > > Signed-off-by: David Hildenbrand <[email protected]> > --- > target/s390x/excp_helper.c | 6 ++++++ > 1 file changed, 6 insertions(+)
Reviewed-by: Richard Henderson <[email protected]> r~
