aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/kvm/kvm.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/kvm/kvm.h')
-rw-r--r--drivers/kvm/kvm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/kvm/kvm.h b/drivers/kvm/kvm.h
index 6ae7b6332e32..0c17c76d030f 100644
--- a/drivers/kvm/kvm.h
+++ b/drivers/kvm/kvm.h
@@ -565,8 +565,9 @@ static inline int is_error_hpa(hpa_t hpa) { return hpa >> HPA_MSB; }
565hpa_t gva_to_hpa(struct kvm_vcpu *vcpu, gva_t gva); 565hpa_t gva_to_hpa(struct kvm_vcpu *vcpu, gva_t gva);
566struct page *gva_to_page(struct kvm_vcpu *vcpu, gva_t gva); 566struct page *gva_to_page(struct kvm_vcpu *vcpu, gva_t gva);
567 567
568extern hpa_t bad_page_address; 568extern struct page *bad_page;
569 569
570int is_error_page(struct page *page);
570gfn_t unalias_gfn(struct kvm *kvm, gfn_t gfn); 571gfn_t unalias_gfn(struct kvm *kvm, gfn_t gfn);
571struct page *gfn_to_page(struct kvm *kvm, gfn_t gfn); 572struct page *gfn_to_page(struct kvm *kvm, gfn_t gfn);
572int kvm_read_guest_page(struct kvm *kvm, gfn_t gfn, void *data, int offset, 573int kvm_read_guest_page(struct kvm *kvm, gfn_t gfn, void *data, int offset,