On 22/09/21 02:05, Sean Christopherson wrote:
To prepare for using static_calls to optimize perf's guest callbacks, replace ->is_in_guest and ->is_user_mode with a new multiplexed hook ->state, tweak ->handle_intel_pt_intr to play nice with being called when there is no active guest, and drop "guest" from ->is_in_guest.
... from ->get_guest_ip. Code-wise, Reviewed-by: Paolo Bonzini <pbonzini@xxxxxxxxxx>