aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/x86.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kvm/x86.c')
-rw-r--r--arch/x86/kvm/x86.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index 0735efbfa712..1842a86f7c33 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -3909,6 +3909,8 @@ void kvm_arch_destroy_vm(struct kvm *kvm)
3909 kvm_free_physmem(kvm); 3909 kvm_free_physmem(kvm);
3910 if (kvm->arch.apic_access_page) 3910 if (kvm->arch.apic_access_page)
3911 put_page(kvm->arch.apic_access_page); 3911 put_page(kvm->arch.apic_access_page);
3912 if (kvm->arch.ept_identity_pagetable)
3913 put_page(kvm->arch.ept_identity_pagetable);
3912 kfree(kvm); 3914 kfree(kvm);
3913} 3915}
3914 3916