[RFC,1/4] kvm: Stub kvm_irqchip_update_msi_route

Submitted by Alex Williamson on Nov. 27, 2012, 10 p.m.

Details

Message ID 20121127220019.5751.12624.stgit@bling.home
State New
Headers show

Commit Message

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 hide | download patch | download mbox

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)
 {
 }