summaryrefslogtreecommitdiff
path: root/kvm_host.h
diff options
context:
space:
mode:
authormax <max@maxpad.(none)>2011-03-12 15:40:01 +0100
committermax <max@maxpad.(none)>2011-03-12 15:40:01 +0100
commitabba902601b2b66ee0c8f9b1f74e1b8592b6be62 (patch)
tree1d88eef11f91703c02ee861f6d215934265a5f81 /kvm_host.h
parent88a3d9a8bd0234f138c498a33bfb57178f21c110 (diff)
downloadillumos-kvm-abba902601b2b66ee0c8f9b1f74e1b8592b6be62.tar.gz
Various minor changes. Backing up...
Diffstat (limited to 'kvm_host.h')
-rw-r--r--kvm_host.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/kvm_host.h b/kvm_host.h
index caddd02..80f4968 100644
--- a/kvm_host.h
+++ b/kvm_host.h
@@ -104,9 +104,9 @@ void kvm_put_kvm(struct kvm *kvm);
#define HPA_MSB ((sizeof(hpa_t) * 8) - 1)
#define HPA_ERR_MASK ((hpa_t)1 << HPA_MSB)
static inline int is_error_hpa(hpa_t hpa) { return hpa >> HPA_MSB; }
-caddr_t gva_to_page(struct kvm_vcpu *vcpu, gva_t gva);
+page_t gva_to_page(struct kvm_vcpu *vcpu, gva_t gva);
-extern caddr_t bad_page;
+extern page_t *bad_page;
extern pfn_t bad_pfn;
int is_error_page(struct page *page);
@@ -132,7 +132,7 @@ void kvm_arch_flush_shadow(struct kvm *kvm);
gfn_t unalias_gfn(struct kvm *kvm, gfn_t gfn);
gfn_t unalias_gfn_instantiation(struct kvm *kvm, gfn_t gfn);
-caddr_t gfn_to_page(struct kvm *kvm, gfn_t gfn);
+page_t *gfn_to_page(struct kvm *kvm, gfn_t gfn);
unsigned long gfn_to_hva(struct kvm *kvm, gfn_t gfn);
void kvm_release_page_clean(struct page *page);
void kvm_release_page_dirty(struct page *page);