qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] kvm: add stub for kvm_irqchip_update_msi_route
@ 2013-01-15 17:50 Michael S. Tsirkin
  2013-01-16  1:43 ` Anthony Liguori
  0 siblings, 1 reply; 2+ messages in thread
From: Michael S. Tsirkin @ 2013-01-15 17:50 UTC (permalink / raw)
  To: qemu-devel, Anthony Liguori
  Cc: Peter Maydell, Gleb Natapov, Jan Kiszka, Marcelo Tosatti,
	Andreas Färber

ppc64 build needs this stub to build with virtio enabled.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Tested-by: Andreas Färber <afaerber@suse.de>
---
 kvm-all.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/kvm-all.c b/kvm-all.c
index fc0c6e7..bac67da 100644
--- a/kvm-all.c
+++ b/kvm-all.c
@@ -1182,6 +1182,11 @@ static int kvm_irqchip_assign_irqfd(KVMState *s, int fd, int virq, bool assign)
 {
     abort();
 }
+
+int kvm_irqchip_update_msi_route(KVMState *s, int virq, MSIMessage msg)
+{
+    return -ENOSYS;
+}
 #endif /* !KVM_CAP_IRQ_ROUTING */
 
 int kvm_irqchip_add_irqfd_notifier(KVMState *s, EventNotifier *n, int virq)
-- 
MST

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] [PATCH] kvm: add stub for kvm_irqchip_update_msi_route
  2013-01-15 17:50 [Qemu-devel] [PATCH] kvm: add stub for kvm_irqchip_update_msi_route Michael S. Tsirkin
@ 2013-01-16  1:43 ` Anthony Liguori
  0 siblings, 0 replies; 2+ messages in thread
From: Anthony Liguori @ 2013-01-16  1:43 UTC (permalink / raw)
  To: Michael S. Tsirkin, qemu-devel, Anthony Liguori
  Cc: Peter Maydell, Gleb Natapov, Jan Kiszka, Marcelo Tosatti, None

Thanks, applied.

Regards,

Anthony Liguori

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-01-16  1:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-15 17:50 [Qemu-devel] [PATCH] kvm: add stub for kvm_irqchip_update_msi_route Michael S. Tsirkin
2013-01-16  1:43 ` Anthony Liguori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).