aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/kvm_host.h
diff options
context:
space:
mode:
authorAndrey Smetanin <asmetanin@virtuozzo.com>2015-11-10 07:36:31 -0500
committerPaolo Bonzini <pbonzini@redhat.com>2015-11-25 11:24:21 -0500
commitabdb080f7ac8a85547f5e0246362790043bbd3f2 (patch)
treef9ba4a377a05fdc84c386cdeb0c0fd3783eba590 /include/linux/kvm_host.h
parentb2467e744f89fcb2e723143c2b78bcbaf391828a (diff)
kvm/irqchip: kvm_arch_irq_routing_update renaming split
Actually kvm_arch_irq_routing_update() should be kvm_arch_post_irq_routing_update() as it's called at the end of irq routing update. This renaming frees kvm_arch_irq_routing_update function name. kvm_arch_irq_routing_update() weak function which will be used to update mappings for arch-specific irq routing entries (in particular, the upcoming Hyper-V synthetic interrupts). Signed-off-by: Andrey Smetanin <asmetanin@virtuozzo.com> Reviewed-by: Roman Kagan <rkagan@virtuozzo.com> Signed-off-by: Denis V. Lunev <den@openvz.org> CC: Gleb Natapov <gleb@kernel.org> CC: Paolo Bonzini <pbonzini@redhat.com> CC: Roman Kagan <rkagan@virtuozzo.com> CC: Denis V. Lunev <den@openvz.org> CC: qemu-devel@nongnu.org Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/linux/kvm_host.h')
-rw-r--r--include/linux/kvm_host.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h
index c923350ca20a..23555c0f4f2d 100644
--- a/include/linux/kvm_host.h
+++ b/include/linux/kvm_host.h
@@ -484,12 +484,12 @@ void vcpu_put(struct kvm_vcpu *vcpu);
484 484
485#ifdef __KVM_HAVE_IOAPIC 485#ifdef __KVM_HAVE_IOAPIC
486void kvm_vcpu_request_scan_ioapic(struct kvm *kvm); 486void kvm_vcpu_request_scan_ioapic(struct kvm *kvm);
487void kvm_arch_irq_routing_update(struct kvm *kvm); 487void kvm_arch_post_irq_routing_update(struct kvm *kvm);
488#else 488#else
489static inline void kvm_vcpu_request_scan_ioapic(struct kvm *kvm) 489static inline void kvm_vcpu_request_scan_ioapic(struct kvm *kvm)
490{ 490{
491} 491}
492static inline void kvm_arch_irq_routing_update(struct kvm *kvm) 492static inline void kvm_arch_post_irq_routing_update(struct kvm *kvm)
493{ 493{
494} 494}
495#endif 495#endif
@@ -1091,6 +1091,7 @@ static inline void kvm_irq_routing_update(struct kvm *kvm)
1091{ 1091{
1092} 1092}
1093#endif 1093#endif
1094void kvm_arch_irq_routing_update(struct kvm *kvm);
1094 1095
1095static inline int kvm_ioeventfd(struct kvm *kvm, struct kvm_ioeventfd *args) 1096static inline int kvm_ioeventfd(struct kvm *kvm, struct kvm_ioeventfd *args)
1096{ 1097{