Re: [PATCH v2 1/4] KVM: x86: refactor req_immediate_exit logic

From: Paolo Bonzini
Date: Tue Sep 26 2023 - 12:38:31 EST


On 9/24/23 14:44, Maxim Levitsky wrote:
+ if (vcpu->arch.req_immediate_exit)
kvm_make_request(KVM_REQ_EVENT, vcpu);
- static_call(kvm_x86_request_immediate_exit)(vcpu);
- }

Is it enough for your use case to add a new tracepoint here, instead of adding req_immediate_exit to both entry and exit?

Paolo