aboutsummaryrefslogtreecommitdiff
path: root/kvm-stub.c
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2013-04-16 15:58:13 +0200
committerAlexander Graf <agraf@suse.de>2013-07-01 01:11:14 +0200
commit7b7745930b1f14057b41a257524c559e62c5faa7 (patch)
treee4989f1c26bb29bf83fa1b0951bbf655549f8a73 /kvm-stub.c
parent215e79c01c4e6f766eb9add56c56453e9ea1d948 (diff)
downloadqemu-7b7745930b1f14057b41a257524c559e62c5faa7.zip
qemu-7b7745930b1f14057b41a257524c559e62c5faa7.tar.gz
qemu-7b7745930b1f14057b41a257524c559e62c5faa7.tar.bz2
KVM: Export kvm_init_irq_routing
On PPC, we can have different types of interrupt controllers, so we really only know that we are going to use one when we created it. Export kvm_init_irq_routing() to common code, so that we don't have to call kvm_irqchip_create(). Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'kvm-stub.c')
-rw-r--r--kvm-stub.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/kvm-stub.c b/kvm-stub.c
index 5457fe8..dec7a83 100644
--- a/kvm-stub.c
+++ b/kvm-stub.c
@@ -122,6 +122,10 @@ int kvm_irqchip_add_msi_route(KVMState *s, MSIMessage msg)
return -ENOSYS;
}
+void kvm_init_irq_routing(KVMState *s)
+{
+}
+
void kvm_irqchip_release_virq(KVMState *s, int virq)
{
}