From dabe3143e0f36a78a65c0dce1e298e31df1be6c4 Mon Sep 17 00:00:00 2001 From: "Michael S. Tsirkin" Date: Tue, 15 Jan 2013 19:50:13 +0200 Subject: kvm: add stub for kvm_irqchip_update_msi_route MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ppc64 build needs this stub to build with virtio enabled. Signed-off-by: Michael S. Tsirkin Tested-by: Andreas Färber Signed-off-by: Anthony Liguori --- kvm-all.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/kvm-all.c b/kvm-all.c index 6e2164bec2..6278d615b1 100644 --- a/kvm-all.c +++ b/kvm-all.c @@ -1181,6 +1181,11 @@ static int kvm_irqchip_assign_irqfd(KVMState *s, int fd, int virq, bool assign) { abort(); } + +int kvm_irqchip_update_msi_route(KVMState *s, int virq, MSIMessage msg) +{ + return -ENOSYS; +} #endif /* !KVM_CAP_IRQ_ROUTING */ int kvm_irqchip_add_irqfd_notifier(KVMState *s, EventNotifier *n, int virq) -- cgit v1.2.3