Patchwork [PULL,19/26] KVM: S390: 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-20-git-send-email-mjt@msgid.tls.msk.ru>
Download mbox | patch
Permalink /patch/251334/
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-s390x/kvm.c |    4 ++++
 1 file changed, 4 insertions(+)

Patch

diff --git a/target-s390x/kvm.c b/target-s390x/kvm.c
index 862fb12..4d9ac4a 100644
--- a/target-s390x/kvm.c
+++ b/target-s390x/kvm.c
@@ -928,3 +928,7 @@  void kvm_s390_enable_css_support(S390CPU *cpu)
     r = kvm_vcpu_ioctl(CPU(cpu), KVM_ENABLE_CAP, &cap);
     assert(r == 0);
 }
+
+void kvm_arch_init_irq_routing(KVMState *s)
+{
+}