aboutsummaryrefslogtreecommitdiff
path: root/kvm-all.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2013-01-15 19:50:13 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2013-01-15 18:25:05 -0600
commitdabe3143e0f36a78a65c0dce1e298e31df1be6c4 (patch)
treed1a1a51e968b1d6a4fea22175f6039942301f63f /kvm-all.c
parent8ec12ec734da08a945a05e2b0f89d2639048c771 (diff)
downloadqemu-dabe3143e0f36a78a65c0dce1e298e31df1be6c4.zip
qemu-dabe3143e0f36a78a65c0dce1e298e31df1be6c4.tar.gz
qemu-dabe3143e0f36a78a65c0dce1e298e31df1be6c4.tar.bz2
kvm: add stub for kvm_irqchip_update_msi_route
ppc64 build needs this stub to build with virtio enabled. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Tested-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'kvm-all.c')
-rw-r--r--kvm-all.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/kvm-all.c b/kvm-all.c
index 6e2164b..6278d61 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)