]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: x86: Plumb the src/dst operand types through to .check_intercept()
authorSean Christopherson <seanjc@google.com>
Sat, 1 Feb 2025 01:55:13 +0000 (17:55 -0800)
committerSean Christopherson <seanjc@google.com>
Mon, 24 Feb 2025 17:01:07 +0000 (09:01 -0800)
commit407d03fe924c69d04bca980402fb11d1542cd74c
treefd0f7a42daee6723908a3d4d116b832015a03ccb
parent08e3d89eb330ef579a8a494264e6f192b4434fc0
KVM: x86: Plumb the src/dst operand types through to .check_intercept()

When checking for intercept when emulating an instruction on behalf of L2,
forward the source and destination operand types to vendor code so that
VMX can synthesize the correct EXIT_QUALIFICATION for port I/O VM-Exits.

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