]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: nVMX: Consolidate missing X86EMUL_INTERCEPTED logic in L2 emulation
authorSean Christopherson <seanjc@google.com>
Sat, 1 Feb 2025 01:55:12 +0000 (17:55 -0800)
committerSean Christopherson <seanjc@google.com>
Mon, 24 Feb 2025 17:01:07 +0000 (09:01 -0800)
commit08e3d89eb330ef579a8a494264e6f192b4434fc0
tree30342705014c1b3bf96dd38b4f755dd328baecb4
parentf43f7a215af0586e196253555fc614efb0588858
KVM: nVMX: Consolidate missing X86EMUL_INTERCEPTED logic in L2 emulation

Refactor the handling of port I/O interception checks when emulating on
behalf of L2 in anticipation of synthesizing a nested VM-Exit to L1
instead of injecting a #UD into L2.

No functional change intended.

Link: https://lore.kernel.org/r/20250201015518.689704-6-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/vmx/vmx.c