Re: [PATCH] KVM: SVM: Add a helper to get LBR field pointer to dedup MSR accesses

From: Sean Christopherson

Date: Fri Apr 03 2026 - 11:19:59 EST


On Tue, 10 Mar 2026 15:04:14 -0700, Sean Christopherson wrote:
> Add a helper to get a pointer to the corresponding VMCB field given an LBR
> MSR index, and use it to dedup the handling in svm_{g,s}et_msr().
>
> No functional change intended.

Applied to kvm-x86 nested (on March 13th...).

[1/1] KVM: SVM: Add a helper to get LBR field pointer to dedup MSR accesses
https://github.com/kvm-x86/linux/commit/0b4a043a5414

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