]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: SVM: prepare for making SPEC_CTRL switch common with VMX
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 8 Apr 2026 07:19:46 +0000 (03:19 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 28 Apr 2026 10:56:06 +0000 (06:56 -0400)
commit47cd3a2277d1247d92a3545e7f5f64f0750d1dfa
tree7759f096c48df5416fc932a669c9c416794fc176
parent034c9c37b6d74fbb08de436029341da6afd877b1
KVM: SVM: prepare for making SPEC_CTRL switch common with VMX

Remove the local labels and restrict RESTORE_*_BODY to just
the restore code itself.  Since the alternatives are different
between VMX and SVM, having labels in the per-vendor file and
jumps in another would be too confusing.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/vmenter.S