[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-discuss] qemu x86 STI followed by RET fails to enable interrup
From: |
Peter Maydell |
Subject: |
Re: [Qemu-discuss] qemu x86 STI followed by RET fails to enable interrupts. |
Date: |
Wed, 18 Sep 2019 13:59:28 +0100 |
On Wed, 18 Sep 2019 at 03:11, <address@hidden> 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. If a "nop" is inserted between the STI
> and the RET, then everything works as expected. I checked the changelog
> from 4.1.0 back to 3.0.0 and I didn't see a fix for this.
>
> If anyone has a quick patch, I'd be happy to check it out :-)
Is the bug fixed in 4.1.0 ? If so you could try doing a git bisect
to see where it got fixed.
thanks
-- PMM