Re: [Qemu-devel] [PATCH] target-i386: fix interrupt shadow

2016-03-01 Thread Hervé Poussineau
Le 01/03/2016 15:09, Paolo Bonzini a écrit : The handling of the interrupt shadow is subtle. QEMU's check to stop the interrupt shadow needs to check the state after the _penultimate_ instruction. Because the interrupt shadow is only enabled at the end of a translation block, and it makes the

[Qemu-devel] [PATCH] target-i386: fix interrupt shadow

2016-03-01 Thread Paolo Bonzini
The handling of the interrupt shadow is subtle. QEMU's check to stop the interrupt shadow needs to check the state after the _penultimate_ instruction. Because the interrupt shadow is only enabled at the end of a translation block, and it makes the next, the state at the penultimate instruction