aboutsummaryrefslogtreecommitdiffstats
path: root/virt/kvm
diff options
context:
space:
mode:
authorSheng Yang <sheng.yang@intel.com>2008-04-25 21:44:50 +0800
committerAvi Kivity <avi@qumranet.com>2008-05-04 14:44:40 +0300
commit0d15029895051904e31925ec63525cc3a637f7de (patch)
tree4f4f628467a493cdcd79bd0bb7bd4e04dfd12ec4 /virt/kvm
parent1ac593c97eb229da44819f66fea47975537c1177 (diff)
downloadkernel_samsung_espresso10-0d15029895051904e31925ec63525cc3a637f7de.zip
kernel_samsung_espresso10-0d15029895051904e31925ec63525cc3a637f7de.tar.gz
kernel_samsung_espresso10-0d15029895051904e31925ec63525cc3a637f7de.tar.bz2
KVM: Export necessary function for EPT
Signed-off-by: Sheng Yang <sheng.yang@intel.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'virt/kvm')
-rw-r--r--virt/kvm/kvm_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c
index e89338e..f7ba099 100644
--- a/virt/kvm/kvm_main.c
+++ b/virt/kvm/kvm_main.c
@@ -522,6 +522,7 @@ unsigned long gfn_to_hva(struct kvm *kvm, gfn_t gfn)
return bad_hva();
return (slot->userspace_addr + (gfn - slot->base_gfn) * PAGE_SIZE);
}
+EXPORT_SYMBOL_GPL(gfn_to_hva);
/*
* Requires current->mm->mmap_sem to be held