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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/kvm/kvm.h b/drivers/kvm/kvm.h
index 516f79ffd126..22317d6f66ae 100644
--- a/drivers/kvm/kvm.h
+++ b/drivers/kvm/kvm.h
@@ -383,6 +383,7 @@ struct kvm {
383 struct kvm_ioapic *vioapic; 383 struct kvm_ioapic *vioapic;
384 int round_robin_prev_vcpu; 384 int round_robin_prev_vcpu;
385 unsigned int tss_addr; 385 unsigned int tss_addr;
386 struct page *apic_access_page;
386}; 387};
387 388
388static inline struct kvm_pic *pic_irqchip(struct kvm *kvm) 389static inline struct kvm_pic *pic_irqchip(struct kvm *kvm)
@@ -522,6 +523,9 @@ int is_error_page(struct page *page);
522int kvm_set_memory_region(struct kvm *kvm, 523int kvm_set_memory_region(struct kvm *kvm,
523 struct kvm_userspace_memory_region *mem, 524 struct kvm_userspace_memory_region *mem,
524 int user_alloc); 525 int user_alloc);
526int __kvm_set_memory_region(struct kvm *kvm,
527 struct kvm_userspace_memory_region *mem,
528 int user_alloc);
525gfn_t unalias_gfn(struct kvm *kvm, gfn_t gfn); 529gfn_t unalias_gfn(struct kvm *kvm, gfn_t gfn);
526struct page *gfn_to_page(struct kvm *kvm, gfn_t gfn); 530struct page *gfn_to_page(struct kvm *kvm, gfn_t gfn);
527void kvm_release_page(struct page *page); 531void kvm_release_page(struct page *page);