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

From: Sean Christopherson
Date: Fri Jun 02 2023 - 20:53:26 EST


On Thu, 01 Jun 2023 18:19:18 -0700, Sean Christopherson wrote:
> 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.
>
> [...]

Applied patch 1 to kvm-x86 fixes (for 6.4), and patch 2 to kvm-x86 svm (for 6.5).
Should have posted these separately...

[1/2] KVM: x86: Account fastpath-only VM-Exits in vCPU stats
https://github.com/kvm-x86/linux/commit/8b703a49c9df
[2/2] KVM: SVM: Invoke trace_kvm_exit() for fastpath VM-Exits
https://github.com/kvm-x86/linux/commit/791a089861fc

--
https://github.com/kvm-x86/linux/tree/next
https://github.com/kvm-x86/linux/tree/fixes
https://github.com/kvm-x86/linux/tree/svm