summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSheng Yang <sheng.yang@intel.com>2008-04-25 15:44:52 +0200
committerAvi Kivity <avi@qumranet.com>2008-05-04 13:44:41 +0200
commitb7ebfb0509692cd923e31650f81ed4d79c9a3e59 (patch)
treedef19d1472976c479287bc00384706e1e9fca461 /include
parentKVM: Export necessary function for EPT (diff)
downloadlinux-b7ebfb0509692cd923e31650f81ed4d79c9a3e59.tar.xz
linux-b7ebfb0509692cd923e31650f81ed4d79c9a3e59.zip
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 'include')
-rw-r--r--include/asm-x86/kvm_host.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-x86/kvm_host.h b/include/asm-x86/kvm_host.h
index d1dedda958ff..e24afaa64a4d 100644
--- a/include/asm-x86/kvm_host.h
+++ b/include/asm-x86/kvm_host.h
@@ -314,6 +314,9 @@ struct kvm_arch{
struct page *apic_access_page;
gpa_t wall_clock;
+
+ struct page *ept_identity_pagetable;
+ bool ept_identity_pagetable_done;
};
struct kvm_vm_stat {