summaryrefslogtreecommitdiffstats
path: root/virt/kvm/Kconfig
diff options
context:
space:
mode:
authorEric Auger <eric.auger@linaro.org>2015-09-18 22:29:43 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2015-10-01 15:06:45 +0200
commit1a02b27035f82091d51ecafcb9ccaac1f31d4eb2 (patch)
tree850ac92a5723e08aca31ea74d58dcd6d6cb33a86 /virt/kvm/Kconfig
parent166c9775f1f8b8f00ad1db0fa5c8fc74059d965d (diff)
downloadlinux-1a02b27035f82091d51ecafcb9ccaac1f31d4eb2.tar.gz
linux-1a02b27035f82091d51ecafcb9ccaac1f31d4eb2.tar.bz2
linux-1a02b27035f82091d51ecafcb9ccaac1f31d4eb2.zip
KVM: introduce kvm_arch functions for IRQ bypass
This patch introduces - kvm_arch_irq_bypass_add_producer - kvm_arch_irq_bypass_del_producer - kvm_arch_irq_bypass_stop - kvm_arch_irq_bypass_start They make possible to specialize the KVM IRQ bypass consumer in case CONFIG_KVM_HAVE_IRQ_BYPASS is set. Signed-off-by: Eric Auger <eric.auger@linaro.org> [Add weak implementations of the callbacks. - Feng] Signed-off-by: Feng Wu <feng.wu@intel.com> Reviewed-by: Alex Williamson <alex.williamson@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'virt/kvm/Kconfig')
-rw-r--r--virt/kvm/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/virt/kvm/Kconfig b/virt/kvm/Kconfig
index e2c876d5a03b..9f8014dda2cf 100644
--- a/virt/kvm/Kconfig
+++ b/virt/kvm/Kconfig
@@ -47,3 +47,6 @@ config KVM_GENERIC_DIRTYLOG_READ_PROTECT
config KVM_COMPAT
def_bool y
depends on COMPAT && !S390
+
+config HAVE_KVM_IRQ_BYPASS
+ bool