diff options
author | Avi Kivity <avi@qumranet.com> | 2007-11-21 07:57:44 -0500 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-01-30 10:53:11 -0500 |
commit | 0d81f2966a61953c4cc7397342f5f907b3a6e257 (patch) | |
tree | afee0fa810fa862c3fa8f9ee765c959b6931dffc /drivers/kvm/mmu.c | |
parent | 3f3e7124f66df2d36751b0c97eabe38a13752fff (diff) |
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.c | 9 |
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) | |||
881 | return hpa; | 881 | return hpa; |
882 | } | 882 | } |
883 | 883 | ||
884 | hpa_t gva_to_hpa(struct kvm_vcpu *vcpu, gva_t gva) | ||
885 | { | ||
886 | gpa_t gpa = vcpu->mmu.gva_to_gpa(vcpu, gva); | ||
887 | |||
888 | if (gpa == UNMAPPED_GVA) | ||
889 | return UNMAPPED_GVA; | ||
890 | return gpa_to_hpa(vcpu->kvm, gpa); | ||
891 | } | ||
892 | |||
893 | struct page *gva_to_page(struct kvm_vcpu *vcpu, gva_t gva) | 884 | struct page *gva_to_page(struct kvm_vcpu *vcpu, gva_t gva) |
894 | { | 885 | { |
895 | gpa_t gpa = vcpu->mmu.gva_to_gpa(vcpu, gva); | 886 | gpa_t gpa = vcpu->mmu.gva_to_gpa(vcpu, gva); |