diff options
author | Avi Kivity <avi@qumranet.com> | 2007-02-19 07:37:47 -0500 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2007-03-04 04:12:41 -0500 |
commit | 270fd9b96f5fcb7df15d3ca6166545d4aa0f3ee9 (patch) | |
tree | 06dcbab8d87b120ddf80ed4e184743fe542b4da8 /drivers/kvm/kvm.h | |
parent | 02e235bc8eebf8a6fef10d46479b3c18f3e9c4f2 (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.h | 2 |
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); | |||
482 | int kvm_mmu_unprotect_page_virt(struct kvm_vcpu *vcpu, gva_t gva); | 482 | int kvm_mmu_unprotect_page_virt(struct kvm_vcpu *vcpu, gva_t gva); |
483 | void kvm_mmu_free_some_pages(struct kvm_vcpu *vcpu); | 483 | void kvm_mmu_free_some_pages(struct kvm_vcpu *vcpu); |
484 | 484 | ||
485 | int kvm_hypercall(struct kvm_vcpu *vcpu, struct kvm_run *run); | ||
486 | |||
485 | static inline int kvm_mmu_page_fault(struct kvm_vcpu *vcpu, gva_t gva, | 487 | static inline int kvm_mmu_page_fault(struct kvm_vcpu *vcpu, gva_t gva, |
486 | u32 error_code) | 488 | u32 error_code) |
487 | { | 489 | { |