]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: SVM: Rename SEV implemenations to conform to kvm_x86_ops hooks
authorSean Christopherson <seanjc@google.com>
Fri, 28 Jan 2022 00:52:06 +0000 (00:52 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 10 Feb 2022 18:50:30 +0000 (13:50 -0500)
commitd477bdad770f4468cc81680d0bd372903868b2d4
tree88775660ccc802b08f3b32df225fb02a0f3d39e5
parente867897858d6f288de5a2f240260f832bb0b7064
KVM: SVM: Rename SEV implemenations to conform to kvm_x86_ops hooks

Rename svm_vm_copy_asid_from() and svm_vm_migrate_from() to conform to
the names used by kvm_x86_ops, and opportunistically use "sev" instead of
"svm" to more precisely identify the role of the hooks.

svm_vm_copy_asid_from() in particular was poorly named as the function
does much more than simply copy the ASID.

No functional change intended.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20220128005208.4008533-21-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/sev.c
arch/x86/kvm/svm/svm.c
arch/x86/kvm/svm/svm.h