Messages in this thread | | | Date | Thu, 1 Jun 2023 18:19:18 -0700 | Subject | [PATCH 0/2] KVM: x86: Fastpath accounting fixes | From | Sean Christopherson <> |
| |
Fix two bugs where KVM fails to account/trace exits that are handled in the super fast fastpath. SVM doesn't actually utilize the super fast fastpath, i.e. patch 1 only affects VMX and the bug fixed by patch 2 is benign in the current code base.
Found by inspection, confirmed by hacking together a small selftest and manually verifying the stats via sysfs.
Sean Christopherson (2): KVM: x86: Account fastpath-only VM-Exits in vCPU stats KVM: SVM: Invoke trace_kvm_exit() for fastpath VM-Exits
arch/x86/kvm/svm/svm.c | 4 ++-- arch/x86/kvm/x86.c | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-)
base-commit: 39428f6ea9eace95011681628717062ff7f5eb5f -- 2.41.0.rc2.161.g9c6817b8e7-goog
| |