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, 3 insertions, 0 deletions
diff --git a/drivers/kvm/kvm.h b/drivers/kvm/kvm.h
index 58b9deb0bc0e..b7068ecd7765 100644
--- a/drivers/kvm/kvm.h
+++ b/drivers/kvm/kvm.h
@@ -448,6 +448,9 @@ int kvm_write_guest(struct kvm_vcpu *vcpu,
448 448
449unsigned long segment_base(u16 selector); 449unsigned long segment_base(u16 selector);
450 450
451void kvm_mmu_pre_write(struct kvm_vcpu *vcpu, gpa_t gpa, int bytes);
452void kvm_mmu_post_write(struct kvm_vcpu *vcpu, gpa_t gpa, int bytes);
453
451static inline struct page *_gfn_to_page(struct kvm *kvm, gfn_t gfn) 454static inline struct page *_gfn_to_page(struct kvm *kvm, gfn_t gfn)
452{ 455{
453 struct kvm_memory_slot *slot = gfn_to_memslot(kvm, gfn); 456 struct kvm_memory_slot *slot = gfn_to_memslot(kvm, gfn);