From 7b7745930b1f14057b41a257524c559e62c5faa7 Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Tue, 16 Apr 2013 15:58:13 +0200 Subject: 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 --- kvm-stub.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'kvm-stub.c') 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) { } -- cgit v1.1