KVM: Export necessary function for EPT
PATCH 4/6 KVM: Export necessary function for EPT
From 5d4a79e5edfc09b54bd83a3a289cbb82058e3daa Mon Sep 17 00:00:00 2001
From: Sheng Yang <[email protected]>
Date: Fri, 18 Apr 2008 17:05:20 +0800
Subject: [PATCH 4/5] KVM: Export necessary function for EPT
The function gfn_to_gva is necessary for handling EPT violation.
--- virt/kvm/kvm_main.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
virt/kvm/kvm_main.c +1 -0
@@ -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
--
1.5.4.5
From 5d4a79e5edfc09b54bd83a3a289cbb82058e3daa Mon Sep 17 00:00:00 2001
From: Sheng Yang <[email protected]>
Date: Fri, 18 Apr 2008 17:05:20 +0800
Subject: [PATCH 4/5] KVM: Export necessary function for EPT
--- virt/kvm/kvm_main.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
virt/kvm/kvm_main.c +1 -0
@@ -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
Signature · 1 line
1.5.4.5
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
kvm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel