On 3/11/19 12:16 PM, Sven Schnelle wrote: > HP-UX (all versions) is losing timer interrupts, which leads to > hangs. Pressing a key on the console fixes this, so it looks like > QEMU is just looping trough TBs without checking for interrupts. > Further investion showed that this happens when interrupts are > triggered, without PSW_I enabled. Calling eval_interrupt() after > PSW_I is set seems to fix this. > > Signed-off-by: Sven Schnelle <sv...@stackframe.org> > --- > target/hppa/cpu.h | 1 + > target/hppa/int_helper.c | 2 +- > target/hppa/op_helper.c | 6 ++++++ > 3 files changed, 8 insertions(+), 1 deletion(-)
The correct fix is to exit to the main loop. r~