KVM: VMX: Update MTF and ICEBP comments to document KVM's subtle behavior
authorSean Christopherson <seanjc@google.com>
Tue, 30 Aug 2022 23:16:10 +0000 (23:16 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 26 Sep 2022 16:03:11 +0000 (12:03 -0400)
commit65ec8f01beb62f76b2bf92009323cb3cb1865992
tree22a2d80ffcd4494d1152afe5133e4889395f916a
parent7055fb11311622852c16463b1ccaa59e7691e42e
KVM: VMX: Update MTF and ICEBP comments to document KVM's subtle behavior

Document the oddities of ICEBP interception (trap-like #DB is intercepted
as a fault-like exception), and how using VMX's inner "skip" helper
deliberately bypasses the pending MTF and single-step #DB logic.

No functional change intended.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Link: https://lore.kernel.org/r/20220830231614.3580124-24-seanjc@google.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/vmx.c