Patchwork [RFC,1/4] kvm: Stub kvm_irqchip_update_msi_route

login
register
mail settings
Submitter Alex Williamson
Date Nov. 27, 2012, 10 p.m.
Message ID <20121127220019.5751.12624.stgit@bling.home>
Download mbox | patch
Permalink /patch/202313/
State New
Headers show

Comments

Alex Williamson - Nov. 27, 2012, 10 p.m.
Its friends are already stubbed out, add this one too so vfio can
call it without wrapping it in #ifdefs.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
---
 kvm-all.c  |    5 +++++
 kvm-stub.c |    5 +++++
 2 files changed, 10 insertions(+)

Patch

diff --git a/kvm-all.c b/kvm-all.c
index 3bc3347..93e9f0e 100644
--- a/kvm-all.c
+++ b/kvm-all.c
@@ -1179,6 +1179,11 @@  int kvm_irqchip_add_msi_route(KVMState *s, MSIMessage msg)
     return -ENOSYS;
 }
 
+int kvm_irqchip_update_msi_route(KVMState *s, int virq, MSIMessage msg)
+{
+    return -ENOSYS;
+}
+
 static int kvm_irqchip_assign_irqfd(KVMState *s, int fd, int virq, bool assign)
 {
     abort();
diff --git a/kvm-stub.c b/kvm-stub.c
index a3455e2..3a3bf85 100644
--- a/kvm-stub.c
+++ b/kvm-stub.c
@@ -127,6 +127,11 @@  int kvm_irqchip_add_msi_route(KVMState *s, MSIMessage msg)
     return -ENOSYS;
 }
 
+int kvm_irqchip_update_msi_route(KVMState *s, int virq, MSIMessage msg)
+{
+    return -ENOSYS;
+}
+
 void kvm_irqchip_release_virq(KVMState *s, int virq)
 {
 }