]> Git Repo - qemu.git/commitdiff
kvm: add stub for kvm_irqchip_update_msi_route
authorMichael S. Tsirkin <[email protected]>
Tue, 15 Jan 2013 17:50:13 +0000 (19:50 +0200)
committerAnthony Liguori <[email protected]>
Wed, 16 Jan 2013 00:25:05 +0000 (18:25 -0600)
ppc64 build needs this stub to build with virtio enabled.

Signed-off-by: Michael S. Tsirkin <[email protected]>
Tested-by: Andreas Färber <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
kvm-all.c

index 6e2164bec24008033256c772b3e9f8e47b116d7a..6278d615b1572b8f1df1e95c6e5de541a50db35c 100644 (file)
--- 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)
This page took 0.048433 seconds and 4 git commands to generate.