diff options
author | 2024-09-10 16:03:48 -0400 | |
---|---|---|
committer | 2024-12-18 15:14:48 -0800 | |
commit | 3e633e7e7d0725b483aee843cbdce22bc9cd1707 (patch) | |
tree | 902c5db4696f2722ede64ed0e9879f8f949a2b24 /scripts/gdb/linux/utils.py | |
parent | KVM: selftests: Add test case for MMIO during vectoring on x86 (diff) | |
download | wireguard-linux-3e633e7e7d0725b483aee843cbdce22bc9cd1707.tar.xz wireguard-linux-3e633e7e7d0725b483aee843cbdce22bc9cd1707.zip |
KVM: x86: Add interrupt injection information to the kvm_entry tracepoint
Add VMX/SVM specific interrupt injection info the kvm_entry tracepoint.
As is done with kvm_exit, gather the information via a kvm_x86_ops hook
to avoid the moderately costly VMREADs on VMX when the tracepoint isn't
enabled.
Opportunistically rename the parameters in the get_exit_info()
declaration to match the names used by both SVM and VMX.
Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Link: https://lore.kernel.org/r/20240910200350.264245-2-mlevitsk@redhat.com
[sean: drop is_guest_mode() change, use intr_info/error_code for names]
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions