Skip to contentSkip to conversation

kvm: add stub for kvm_irqchip_update_msi_route

PATCH Applied Michael S. Tsirkin 2 participants 2 messages Jan 15, 2013 – Jan 16, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kvm: add stub for kvm_irqchip_update_msi_route

ppc64 build needs this stub to build with virtio enabled.

---
 kvm-all.c | 5 +++++
 1 file changed, 5 insertions(+)
kvm-all.c +5 -0
index fc0c6e7..bac67da 100644
@@ -1182,6 +1182,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)
Signature · 1 line
MST