Patchwork [3/8] kvm: add stub for update msi route

login
register
mail settings
Submitter Michael S. Tsirkin
Date Dec. 26, 2012, 10:52 a.m.
Message ID <a5190ca0715f648cea6d9ac01f643c3e2ba81ef5.1356519045.git.mst@redhat.com>
Download mbox | patch
Permalink /patch/208159/
State New
Headers show

Comments

Michael S. Tsirkin - Dec. 26, 2012, 10:52 a.m.
Will be used by virtio-pci.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
 kvm-stub.c | 5 +++++
 1 file changed, 5 insertions(+)

Patch

diff --git a/kvm-stub.c b/kvm-stub.c
index 5b97152..81f8967 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;