Patchwork [PULL,18/26] KVM: ARM: Add dummy kvm_arch_init_irq_routing()

login
register
mail settings
Submitter Michael Tokarev
Date June 14, 2013, 10:50 a.m.
Message ID <1371207042-17980-19-git-send-email-mjt@msgid.tls.msk.ru>
Download mbox | patch
Permalink /patch/251355/
State New
Headers show

Comments

Michael Tokarev - June 14, 2013, 10:50 a.m.
From: Alexey Kardashevskiy <aik@ozlabs.ru>

The common KVM code insists on calling kvm_arch_init_irq_routing()
as soon as it sees kernel header support for it (regardless of whether
QEMU supports it).  Provide a dummy function to satisfy this.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
---
 target-arm/kvm.c |    4 ++++
 1 file changed, 4 insertions(+)

Patch

diff --git a/target-arm/kvm.c b/target-arm/kvm.c
index b7bdc03..27dcab9 100644
--- a/target-arm/kvm.c
+++ b/target-arm/kvm.c
@@ -491,3 +491,7 @@  void kvm_arch_remove_all_hw_breakpoints(void)
 {
     qemu_log_mask(LOG_UNIMP, "%s: not implemented\n", __func__);
 }
+
+void kvm_arch_init_irq_routing(KVMState *s)
+{
+}