diff options
author | Christoffer Dall <christoffer.dall@linaro.org> | 2014-09-18 21:15:32 -0400 |
---|---|---|
committer | Christoffer Dall <christoffer.dall@linaro.org> | 2014-09-18 21:15:32 -0400 |
commit | a875dafcf9b6b266c855e1f9b0aa060ef585d38a (patch) | |
tree | 1903cb0a39ac1cade1940ccb559591cddf3660a0 /include/linux/kvm_host.h | |
parent | 0ba09511ddc3ff0b462f37b4fe4b9c4dccc054ec (diff) | |
parent | f51770ed465e6eb41da7fa16fd92eb67069600cf (diff) |
Merge remote-tracking branch 'kvm/next' into queue
Conflicts:
arch/arm64/include/asm/kvm_host.h
virt/kvm/arm/vgic.c
Diffstat (limited to 'include/linux/kvm_host.h')
-rw-r--r-- | include/linux/kvm_host.h | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h index 6d8a658ec174..bbd8d57b04e0 100644 --- a/include/linux/kvm_host.h +++ b/include/linux/kvm_host.h | |||
@@ -140,8 +140,6 @@ static inline bool is_error_page(struct page *page) | |||
140 | #define KVM_USERSPACE_IRQ_SOURCE_ID 0 | 140 | #define KVM_USERSPACE_IRQ_SOURCE_ID 0 |
141 | #define KVM_IRQFD_RESAMPLE_IRQ_SOURCE_ID 1 | 141 | #define KVM_IRQFD_RESAMPLE_IRQ_SOURCE_ID 1 |
142 | 142 | ||
143 | struct kvm; | ||
144 | struct kvm_vcpu; | ||
145 | extern struct kmem_cache *kvm_vcpu_cache; | 143 | extern struct kmem_cache *kvm_vcpu_cache; |
146 | 144 | ||
147 | extern spinlock_t kvm_lock; | 145 | extern spinlock_t kvm_lock; |
@@ -325,8 +323,6 @@ struct kvm_kernel_irq_routing_entry { | |||
325 | struct hlist_node link; | 323 | struct hlist_node link; |
326 | }; | 324 | }; |
327 | 325 | ||
328 | struct kvm_irq_routing_table; | ||
329 | |||
330 | #ifndef KVM_PRIVATE_MEM_SLOTS | 326 | #ifndef KVM_PRIVATE_MEM_SLOTS |
331 | #define KVM_PRIVATE_MEM_SLOTS 0 | 327 | #define KVM_PRIVATE_MEM_SLOTS 0 |
332 | #endif | 328 | #endif |
@@ -636,8 +632,8 @@ int kvm_arch_vcpu_setup(struct kvm_vcpu *vcpu); | |||
636 | int kvm_arch_vcpu_postcreate(struct kvm_vcpu *vcpu); | 632 | int kvm_arch_vcpu_postcreate(struct kvm_vcpu *vcpu); |
637 | void kvm_arch_vcpu_destroy(struct kvm_vcpu *vcpu); | 633 | void kvm_arch_vcpu_destroy(struct kvm_vcpu *vcpu); |
638 | 634 | ||
639 | int kvm_arch_hardware_enable(void *garbage); | 635 | int kvm_arch_hardware_enable(void); |
640 | void kvm_arch_hardware_disable(void *garbage); | 636 | void kvm_arch_hardware_disable(void); |
641 | int kvm_arch_hardware_setup(void); | 637 | int kvm_arch_hardware_setup(void); |
642 | void kvm_arch_hardware_unsetup(void); | 638 | void kvm_arch_hardware_unsetup(void); |
643 | void kvm_arch_check_processor_compat(void *rtn); | 639 | void kvm_arch_check_processor_compat(void *rtn); |
@@ -1038,8 +1034,6 @@ static inline bool kvm_check_request(int req, struct kvm_vcpu *vcpu) | |||
1038 | 1034 | ||
1039 | extern bool kvm_rebooting; | 1035 | extern bool kvm_rebooting; |
1040 | 1036 | ||
1041 | struct kvm_device_ops; | ||
1042 | |||
1043 | struct kvm_device { | 1037 | struct kvm_device { |
1044 | struct kvm_device_ops *ops; | 1038 | struct kvm_device_ops *ops; |
1045 | struct kvm *kvm; | 1039 | struct kvm *kvm; |
@@ -1072,12 +1066,10 @@ struct kvm_device_ops { | |||
1072 | void kvm_device_get(struct kvm_device *dev); | 1066 | void kvm_device_get(struct kvm_device *dev); |
1073 | void kvm_device_put(struct kvm_device *dev); | 1067 | void kvm_device_put(struct kvm_device *dev); |
1074 | struct kvm_device *kvm_device_from_filp(struct file *filp); | 1068 | struct kvm_device *kvm_device_from_filp(struct file *filp); |
1069 | int kvm_register_device_ops(struct kvm_device_ops *ops, u32 type); | ||
1075 | 1070 | ||
1076 | extern struct kvm_device_ops kvm_mpic_ops; | 1071 | extern struct kvm_device_ops kvm_mpic_ops; |
1077 | extern struct kvm_device_ops kvm_xics_ops; | 1072 | extern struct kvm_device_ops kvm_xics_ops; |
1078 | extern struct kvm_device_ops kvm_vfio_ops; | ||
1079 | extern struct kvm_device_ops kvm_arm_vgic_v2_ops; | ||
1080 | extern struct kvm_device_ops kvm_flic_ops; | ||
1081 | 1073 | ||
1082 | #ifdef CONFIG_HAVE_KVM_CPU_RELAX_INTERCEPT | 1074 | #ifdef CONFIG_HAVE_KVM_CPU_RELAX_INTERCEPT |
1083 | 1075 | ||