summaryrefslogtreecommitdiffstats
path: root/drivers/kvm/mmu.c
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2007-11-21 13:57:44 +0100
committerAvi Kivity <avi@qumranet.com>2008-01-30 16:53:11 +0100
commit0d81f2966a61953c4cc7397342f5f907b3a6e257 (patch)
treeafee0fa810fa862c3fa8f9ee765c959b6931dffc /drivers/kvm/mmu.c
parentKVM: MMU: Simplify nonpaging_map() (diff)
downloadlinux-0d81f2966a61953c4cc7397342f5f907b3a6e257.tar.xz
linux-0d81f2966a61953c4cc7397342f5f907b3a6e257.zip
KVM: MMU: Remove gva_to_hpa()
No longer used. Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/mmu.c')
-rw-r--r--drivers/kvm/mmu.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/kvm/mmu.c b/drivers/kvm/mmu.c
index 1965185bbe23..6aa0319ede4d 100644
--- a/drivers/kvm/mmu.c
+++ b/drivers/kvm/mmu.c
@@ -881,15 +881,6 @@ hpa_t gpa_to_hpa(struct kvm *kvm, gpa_t gpa)
return hpa;
}
-hpa_t gva_to_hpa(struct kvm_vcpu *vcpu, gva_t gva)
-{
- gpa_t gpa = vcpu->mmu.gva_to_gpa(vcpu, gva);
-
- if (gpa == UNMAPPED_GVA)
- return UNMAPPED_GVA;
- return gpa_to_hpa(vcpu->kvm, gpa);
-}
-
struct page *gva_to_page(struct kvm_vcpu *vcpu, gva_t gva)
{
gpa_t gpa = vcpu->mmu.gva_to_gpa(vcpu, gva);