]> git.karo-electronics.de Git - karo-tx-linux.git/commit
KVM: Give IRQFD its own separate enabling Kconfig option
authorPaul Mackerras <paulus@samba.org>
Mon, 30 Jun 2014 10:51:13 +0000 (20:51 +1000)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 5 Aug 2014 12:26:28 +0000 (14:26 +0200)
commit297e21053a52f060944e9f0de4c64fad9bcd72fc
tree9ee54fbee84f31d76ac02db4639b044f92a24051
parente4d57e1ee1ab59f0cef0272800ac6c52e0ec814a
KVM: Give IRQFD its own separate enabling Kconfig option

Currently, the IRQFD code is conditional on CONFIG_HAVE_KVM_IRQ_ROUTING.
So that we can have the IRQFD code compiled in without having the
IRQ routing code, this creates a new CONFIG_HAVE_KVM_IRQFD, makes
the IRQFD code conditional on it instead of CONFIG_HAVE_KVM_IRQ_ROUTING,
and makes all the platforms that currently select HAVE_KVM_IRQ_ROUTING
also select HAVE_KVM_IRQFD.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Tested-by: Eric Auger <eric.auger@linaro.org>
Tested-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/ia64/kvm/Kconfig
arch/powerpc/kvm/Kconfig
arch/s390/kvm/Kconfig
arch/x86/kvm/Kconfig
include/linux/kvm_host.h
virt/kvm/Kconfig
virt/kvm/eventfd.c
virt/kvm/kvm_main.c