diff options
author | 2013-04-15 23:23:21 +0200 | |
---|---|---|
committer | 2013-04-26 20:27:18 +0200 | |
commit | e8cde0939d8ebe9c8ebe5a4bdf71af51a0d56053 (patch) | |
tree | 94d17c8818957e916cba928103a6a8bcdb4d6d6d /include/linux/kvm_host.h | |
parent | KVM: Extract generic irqchip logic into irqchip.c (diff) | |
download | linux-e8cde0939d8ebe9c8ebe5a4bdf71af51a0d56053.tar.gz linux-e8cde0939d8ebe9c8ebe5a4bdf71af51a0d56053.tar.bz2 linux-e8cde0939d8ebe9c8ebe5a4bdf71af51a0d56053.zip |
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.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h index a7bfe9d3aa5e..dcef724f4ba6 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); |