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.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/kvm/kvm.h b/drivers/kvm/kvm.h
index 80cfb99fffe0..1965438f18cc 100644
--- a/drivers/kvm/kvm.h
+++ b/drivers/kvm/kvm.h
@@ -559,6 +559,15 @@ extern hpa_t bad_page_address;
559 559
560gfn_t unalias_gfn(struct kvm *kvm, gfn_t gfn); 560gfn_t unalias_gfn(struct kvm *kvm, gfn_t gfn);
561struct page *gfn_to_page(struct kvm *kvm, gfn_t gfn); 561struct page *gfn_to_page(struct kvm *kvm, gfn_t gfn);
562int kvm_read_guest_page(struct kvm *kvm, gfn_t gfn, void *data, int offset,
563 int len);
564int kvm_read_guest(struct kvm *kvm, gpa_t gpa, void *data, unsigned long len);
565int kvm_write_guest_page(struct kvm *kvm, gfn_t gfn, const void *data,
566 int offset, int len);
567int kvm_write_guest(struct kvm *kvm, gpa_t gpa, const void *data,
568 unsigned long len);
569int kvm_clear_guest_page(struct kvm *kvm, gfn_t gfn, int offset, int len);
570int kvm_clear_guest(struct kvm *kvm, gpa_t gpa, unsigned long len);
562struct kvm_memory_slot *gfn_to_memslot(struct kvm *kvm, gfn_t gfn); 571struct kvm_memory_slot *gfn_to_memslot(struct kvm *kvm, gfn_t gfn);
563void mark_page_dirty(struct kvm *kvm, gfn_t gfn); 572void mark_page_dirty(struct kvm *kvm, gfn_t gfn);
564 573