]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/i386: do not block singlestep for STI
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 15 Jul 2024 08:35:06 +0000 (10:35 +0200)
committerMichael Tokarev <mjt@tls.msk.ru>
Thu, 8 May 2025 09:39:02 +0000 (12:39 +0300)
commit5dd4660f5f4d12166018e1d6dc122149264a8832
tree47b3c09a28bc8d06882f2eba0405f3d8f2d5a837
parent4ba45dffdebc2018ab85e4385cb5155e97ebb742
target/i386: do not block singlestep for STI

STI will trigger a singlestep exception even if it has inhibit-IRQ
behavior.  Do not suppress single-step for all IRQ-inhibiting
instructions, instead special case MOV SS and POP SS.

Cc: qemu-stable@nongnu.org
Fixes: f0f0136abba ("target/i386: no single-step exception after MOV or POP SS", 2024-05-25)
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit 1e94ddc6854431064c94a7d8f2f2886def285829)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
target/i386/tcg/translate.c