From patchwork Tue Nov 27 22:00:19 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [RFC,1/4] kvm: Stub kvm_irqchip_update_msi_route From: Alex Williamson X-Patchwork-Id: 202313 Message-Id: <20121127220019.5751.12624.stgit@bling.home> To: qemu-devel@nongnu.org Cc: kvm@vger.kernel.org Date: Tue, 27 Nov 2012 15:00:19 -0700 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 --- kvm-all.c | 5 +++++ kvm-stub.c | 5 +++++ 2 files changed, 10 insertions(+) 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) { }