]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: VMX: Dedup code for removing MSR from VMCS's auto-load list
authorSean Christopherson <seanjc@google.com>
Sat, 6 Dec 2025 00:17:13 +0000 (16:17 -0800)
committerSean Christopherson <seanjc@google.com>
Thu, 8 Jan 2026 19:52:18 +0000 (11:52 -0800)
commit0bd29379114b9c669cdabf7d6c08c0c1ea41861c
tree3d4868e4f168de9a043dd2a284f39870b8ec04b5
parent58f21a01417f273b4246c885558c252e345681b3
KVM: VMX: Dedup code for removing MSR from VMCS's auto-load list

Add a helper to remove an MSR from an auto-{load,store} list to dedup the
msr_autoload code, and in anticipation of adding similar functionality for
msr_autostore.

No functional change intended.

Tested-by: Manali Shukla <manali.shukla@amd.com>
Link: https://patch.msgid.link/20251206001720.468579-38-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/vmx/vmx.c