diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2013-01-15 19:50:13 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2013-01-15 18:25:05 -0600 |
commit | dabe3143e0f36a78a65c0dce1e298e31df1be6c4 (patch) | |
tree | d1a1a51e968b1d6a4fea22175f6039942301f63f /kvm-all.c | |
parent | 8ec12ec734da08a945a05e2b0f89d2639048c771 (diff) | |
download | qemu-dabe3143e0f36a78a65c0dce1e298e31df1be6c4.tar.gz qemu-dabe3143e0f36a78a65c0dce1e298e31df1be6c4.tar.bz2 qemu-dabe3143e0f36a78a65c0dce1e298e31df1be6c4.zip |
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.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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) |