Commit 791a089
committed
KVM: SVM: Invoke trace_kvm_exit() for fastpath VM-Exits
Move SVM's call to trace_kvm_exit() from the "slow" VM-Exit handler to
svm_vcpu_run() so that KVM traces fastpath VM-Exits that re-enter the
guest without bouncing through the slow path. This bug is benign in the
current code base as KVM doesn't currently support any such exits on SVM.
Fixes: a9ab13f ("KVM: X86: Improve latency for single target IPI fastpath")
Link: https://lore.kernel.org/r/20230602011920.787844-3-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>1 parent 0d3518d commit 791a089
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3405 | 3405 | | |
3406 | 3406 | | |
3407 | 3407 | | |
3408 | | - | |
3409 | | - | |
3410 | 3408 | | |
3411 | 3409 | | |
3412 | 3410 | | |
| |||
4132 | 4130 | | |
4133 | 4131 | | |
4134 | 4132 | | |
| 4133 | + | |
| 4134 | + | |
4135 | 4135 | | |
4136 | 4136 | | |
4137 | 4137 | | |
| |||
0 commit comments