Commit 8b703a4
committed
KVM: x86: Account fastpath-only VM-Exits in vCPU stats
Increment vcpu->stat.exits when handling a fastpath VM-Exit without
going through any part of the "slow" path. Not bumping the exits stat
can result in wildly misleading exit counts, e.g. if the primary reason
the guest is exiting is to program the TSC deadline timer.
Fixes: 404d5d7 ("KVM: X86: Introduce more exit_fastpath_completion enum values")
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>1 parent b2ce899 commit 8b703a4
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10758 | 10758 | | |
10759 | 10759 | | |
10760 | 10760 | | |
| 10761 | + | |
| 10762 | + | |
| 10763 | + | |
10761 | 10764 | | |
10762 | 10765 | | |
10763 | 10766 | | |
| |||
0 commit comments