mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] KVM: x86: Fastpath accounting fixes
@ 2023-06-02  1:19 Sean Christopherson
  2023-06-02  1:19 ` [PATCH 1/2] KVM: x86: Account fastpath-only VM-Exits in vCPU stats Sean Christopherson
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Sean Christopherson @ 2023-06-02  1:19 UTC (permalink / raw)
  To: Sean Christopherson, Paolo Bonzini; +Cc: kvm, linux-kernel

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-06-03  0:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-02  1:19 [PATCH 0/2] KVM: x86: Fastpath accounting fixes Sean Christopherson
2023-06-02  1:19 ` [PATCH 1/2] KVM: x86: Account fastpath-only VM-Exits in vCPU stats Sean Christopherson
2023-06-02  1:19 ` [PATCH 2/2] KVM: SVM: Invoke trace_kvm_exit() for fastpath VM-Exits Sean Christopherson
2023-06-03  0:52 ` [PATCH 0/2] KVM: x86: Fastpath accounting fixes Sean Christopherson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®