summaryrefslogtreecommitdiff
path: root/include/linux/kvm_host.h
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2013-04-15 21:23:21 (GMT)
committerAlexander Graf <agraf@suse.de>2013-04-26 18:27:18 (GMT)
commite8cde0939d8ebe9c8ebe5a4bdf71af51a0d56053 (patch)
tree94d17c8818957e916cba928103a6a8bcdb4d6d6d /include/linux/kvm_host.h
parent1c9f8520bda73c07fed9bcdb307854b45a3a60c4 (diff)
downloadlinux-fsl-qoriq-e8cde0939d8ebe9c8ebe5a4bdf71af51a0d56053.tar.xz
KVM: Move irq routing setup to irqchip.c
Setting up IRQ routes is nothing IOAPIC specific. Extract everything that really is generic code into irqchip.c and only leave the ioapic specific bits to irq_comm.c. Signed-off-by: Alexander Graf <agraf@suse.de> Acked-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/linux/kvm_host.h')
-rw-r--r--include/linux/kvm_host.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h
index a7bfe9d..dcef724 100644
--- a/include/linux/kvm_host.h
+++ b/include/linux/kvm_host.h
@@ -961,6 +961,9 @@ int kvm_set_irq_routing(struct kvm *kvm,
const struct kvm_irq_routing_entry *entries,
unsigned nr,
unsigned flags);
+int kvm_set_routing_entry(struct kvm_irq_routing_table *rt,
+ struct kvm_kernel_irq_routing_entry *e,
+ const struct kvm_irq_routing_entry *ue);
void kvm_free_irq_routing(struct kvm *kvm);
int kvm_send_userspace_msi(struct kvm *kvm, struct kvm_msi *msi);