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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/kvm/kvm.h b/drivers/kvm/kvm.h
index 0c17c76d030f..df0711ce9baa 100644
--- a/drivers/kvm/kvm.h
+++ b/drivers/kvm/kvm.h
@@ -409,6 +409,7 @@ struct kvm_memory_slot {
409 unsigned long *rmap; 409 unsigned long *rmap;
410 unsigned long *dirty_bitmap; 410 unsigned long *dirty_bitmap;
411 int user_alloc; /* user allocated memory */ 411 int user_alloc; /* user allocated memory */
412 unsigned long userspace_addr;
412}; 413};
413 414
414struct kvm { 415struct kvm {
@@ -570,6 +571,7 @@ extern struct page *bad_page;
570int is_error_page(struct page *page); 571int is_error_page(struct page *page);
571gfn_t unalias_gfn(struct kvm *kvm, gfn_t gfn); 572gfn_t unalias_gfn(struct kvm *kvm, gfn_t gfn);
572struct page *gfn_to_page(struct kvm *kvm, gfn_t gfn); 573struct page *gfn_to_page(struct kvm *kvm, gfn_t gfn);
574void kvm_release_page(struct page *page);
573int kvm_read_guest_page(struct kvm *kvm, gfn_t gfn, void *data, int offset, 575int kvm_read_guest_page(struct kvm *kvm, gfn_t gfn, void *data, int offset,
574 int len); 576 int len);
575int kvm_read_guest(struct kvm *kvm, gpa_t gpa, void *data, unsigned long len); 577int kvm_read_guest(struct kvm *kvm, gpa_t gpa, void *data, unsigned long len);