aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/kvm/kvm.h
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2007-02-19 07:37:47 -0500
committerAvi Kivity <avi@qumranet.com>2007-03-04 04:12:41 -0500
commit270fd9b96f5fcb7df15d3ca6166545d4aa0f3ee9 (patch)
tree06dcbab8d87b120ddf80ed4e184743fe542b4da8 /drivers/kvm/kvm.h
parent02e235bc8eebf8a6fef10d46479b3c18f3e9c4f2 (diff)
KVM: Wire up hypercall handlers to a central arch-independent location
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/kvm.h')
-rw-r--r--drivers/kvm/kvm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/kvm/kvm.h b/drivers/kvm/kvm.h
index fd7746a2bc3e..41cc27de4d66 100644
--- a/drivers/kvm/kvm.h
+++ b/drivers/kvm/kvm.h
@@ -482,6 +482,8 @@ void kvm_mmu_post_write(struct kvm_vcpu *vcpu, gpa_t gpa, int bytes);
482int kvm_mmu_unprotect_page_virt(struct kvm_vcpu *vcpu, gva_t gva); 482int kvm_mmu_unprotect_page_virt(struct kvm_vcpu *vcpu, gva_t gva);
483void kvm_mmu_free_some_pages(struct kvm_vcpu *vcpu); 483void kvm_mmu_free_some_pages(struct kvm_vcpu *vcpu);
484 484
485int kvm_hypercall(struct kvm_vcpu *vcpu, struct kvm_run *run);
486
485static inline int kvm_mmu_page_fault(struct kvm_vcpu *vcpu, gva_t gva, 487static inline int kvm_mmu_page_fault(struct kvm_vcpu *vcpu, gva_t gva,
486 u32 error_code) 488 u32 error_code)
487{ 489{