aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2012-12-21 00:47:46 +0200
committerMichael S. Tsirkin <mst@redhat.com>2013-01-07 19:42:23 +0200
commit078bbb504031dc89616d4b67adcf2ce884cb880b (patch)
treef26b57cd35a59600df540adcabdac47e0736e85e
parent4c93bfa9c9f00104b5c7e837da697f9506cb70c7 (diff)
kvm: add stub for update msi route
Will be used by virtio-pci. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
-rw-r--r--kvm-stub.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/kvm-stub.c b/kvm-stub.c
index 5b971521cd..81f8967180 100644
--- a/kvm-stub.c
+++ b/kvm-stub.c
@@ -131,6 +131,11 @@ void kvm_irqchip_release_virq(KVMState *s, int virq)
{
}
+int kvm_irqchip_update_msi_route(KVMState *s, int virq, MSIMessage msg)
+{
+ return -ENOSYS;
+}
+
int kvm_irqchip_add_irqfd_notifier(KVMState *s, EventNotifier *n, int virq)
{
return -ENOSYS;