On 11/28/2017 08:33 PM, David Hildenbrand wrote: > +void s390_cpu_virt_mem_handle_exc(S390CPU *cpu, uintptr_t ra) > +{ > + /* KVM will handle the interrupt automatically, TCG has to exit the TB */ > + #ifdef CONFIG_TCG > + if (tcg_enabled()) { > + if (ra) { > + cpu_restore_state(CPU(cpu), ra); > + } > + cpu_loop_exit(CPU(cpu)); > + }
In addition to everything else, cpu_loop_exit_restore(CPU(cpu), ra); r~