Skip to content

KVM: x86: Fastpath accounting fixes

Sean Christopherson kvm lkml 1 version Applied

Status from this message: Applied patch 1 to kvm-x86 fixes (for 6.4), and patch 2 to kvm-x86 svm (for 6.5).

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2KVM: x86: Account fastpath-only VM-Exits in vCPU statsarch/x86/kvm/x86.c+3 -00 replies
2/2KVM: SVM: Invoke trace_kvm_exit() for fastpath VM-Exitsarch/x86/kvm/svm/svm.c+2 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] KVM: x86: Fastpath accounting fixes

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

Signature · 1 line
2.41.0.rc2.161.g9c6817b8e7-goog