Re: [Qemu-discuss] qemu x86 STI followed by RET fails to enable interrupts.

2019-09-18 Thread Peter Maydell
On Wed, 18 Sep 2019 at 03:11, wrote: > > One of my developers has reported that when qemu x86 (version 3.0.0) sees > an STI instruction (enable interrupts, but defer one instruction before > doing so), and the next instruction is a RET (return from subroutine), > then interrupts are never enabled.

[Qemu-discuss] qemu x86 STI followed by RET fails to enable interrupts.

2019-09-17 Thread alarson
One of my developers has reported that when qemu x86 (version 3.0.0) sees an STI instruction (enable interrupts, but defer one instruction before doing so), and the next instruction is a RET (return from subroutine), then interrupts are never enabled. If a "nop" is inserted between the STI and