Skip to content

Commit

Permalink
KVM: VAC: SVM: Restore kvm_x86_vendor_exit to svm_module_exit
Browse files Browse the repository at this point in the history
By neglecting it, we failed to unload callbacks and module resources.
Fixes module unload.

Signed-off-by: Venkatesh Srinivas <[email protected]>
  • Loading branch information
vsrinivas committed Jul 15, 2023
1 parent f3d92ba commit 04dc0f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/x86/kvm/svm/svm.c
Original file line number Diff line number Diff line change
Expand Up @@ -4645,6 +4645,7 @@ static int svm_vm_init(struct kvm *kvm)
void svm_module_exit(void)
{
kvm_exit();
kvm_x86_vendor_exit();
}

static struct kvm_x86_ops svm_x86_ops __initdata = {
Expand Down

0 comments on commit 04dc0f9

Please sign in to comment.