aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/x86.c
diff options
context:
space:
mode:
authorSheng Yang <sheng.yang@intel.com>2008-04-25 09:44:52 -0400
committerAvi Kivity <avi@qumranet.com>2008-05-04 07:44:41 -0400
commitb7ebfb0509692cd923e31650f81ed4d79c9a3e59 (patch)
treedef19d1472976c479287bc00384706e1e9fca461 /arch/x86/kvm/x86.c
parent0d15029895051904e31925ec63525cc3a637f7de (diff)
KVM: VMX: Prepare an identity page table for EPT in real mode
[aliguory: plug leak] Signed-off-by: Sheng Yang <sheng.yang@intel.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
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