]> err.no Git - linux-2.6/commitdiff
KVM: Export necessary function for EPT
authorSheng Yang <sheng.yang@intel.com>
Fri, 25 Apr 2008 13:44:50 +0000 (21:44 +0800)
committerAvi Kivity <avi@qumranet.com>
Sun, 4 May 2008 11:44:40 +0000 (14:44 +0300)
Signed-off-by: Sheng Yang <sheng.yang@intel.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
virt/kvm/kvm_main.c

index e89338e2b04379d7c29e816de44e8b6824b7885e..f7ba099049eaeab16caf69d6bed1afc280a4a712 100644 (file)
@@ -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