]> git.karo-electronics.de Git - linux-beck.git/commit
KVM: PPC: Implement kvm_arch_intc_initialized() for PPC
authorPaul Mackerras <paulus@ozlabs.org>
Wed, 10 Aug 2016 01:27:27 +0000 (11:27 +1000)
committerPaul Mackerras <paulus@ozlabs.org>
Fri, 19 Aug 2016 03:00:06 +0000 (13:00 +1000)
commit34a75b0f63356097ae9f706d64a793934891002f
treeb1ff9c0443423559c057724bc596e859b8a7140e
parente48ba1cbce12eb4546771d45c09dd94c3404efe8
KVM: PPC: Implement kvm_arch_intc_initialized() for PPC

It doesn't make sense to create irqfds for a VM that doesn't have
in-kernel interrupt controller emulation.  There is an existing
interface for architecture code to tell the irqfd code whether or
not any interrupt controller has been initialized, called
kvm_arch_intc_initialized(), so let's implement that for powerpc.

Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
arch/powerpc/include/asm/kvm_host.h
arch/powerpc/kvm/powerpc.c