Re: [PATCH] KVM: x86: Don't (re)check L1 intercepts when completing userspace I/O
From: Sean Christopherson
Date: Tue Aug 19 2025 - 19:18:53 EST
On Tue, 15 Jul 2025 12:06:38 -0700, Sean Christopherson wrote:
> When completing emulation of instruction that generated a userspace exit
> for I/O, don't recheck L1 intercepts as KVM has already finished that
> phase of instruction execution, i.e. has already committed to allowing L2
> to perform I/O. If L1 (or host userspace) modifies the I/O permission
> bitmaps during the exit to userspace, KVM will treat the access as being
> intercepted despite already having emulated the I/O access.
>
> [...]
Applied to kvm-x86 misc, thanks!
[1/1] KVM: x86: Don't (re)check L1 intercepts when completing userspace I/O
https://github.com/kvm-x86/linux/commit/e750f8539128
--
https://github.com/kvm-x86/linux/tree/next