Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1227981

[PATCH v9 02/18] KVM: x86: select IRQ_BYPASS_MANAGER

From Feng Wu <feng.wu@intel.com>
Newsgroups linux.kernel
Subject [PATCH v9 02/18] KVM: x86: select IRQ_BYPASS_MANAGER
Date 2015-09-18 17:00 +0200
Message-ID <qa5iQ-5JO-59@gated-at.bofh.it> (permalink)
References <qa597-5y9-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Select IRQ_BYPASS_MANAGER for x86 when CONFIG_KVM is set

Signed-off-by: Feng Wu <feng.wu@intel.com>
---
 arch/x86/kvm/Kconfig  | 2 ++
 arch/x86/kvm/Makefile | 3 +++
 2 files changed, 5 insertions(+)

diff --git a/arch/x86/kvm/Kconfig b/arch/x86/kvm/Kconfig
index d8a1d56..c951d44 100644
--- a/arch/x86/kvm/Kconfig
+++ b/arch/x86/kvm/Kconfig
@@ -3,6 +3,7 @@
 #
 
 source "virt/kvm/Kconfig"
+source "virt/lib/Kconfig"
 
 menuconfig VIRTUALIZATION
 	bool "Virtualization"
@@ -28,6 +29,7 @@ config KVM
 	select ANON_INODES
 	select HAVE_KVM_IRQCHIP
 	select HAVE_KVM_IRQFD
+	select IRQ_BYPASS_MANAGER
 	select HAVE_KVM_IRQ_ROUTING
 	select HAVE_KVM_EVENTFD
 	select KVM_APIC_ARCHITECTURE
diff --git a/arch/x86/kvm/Makefile b/arch/x86/kvm/Makefile
index 67d215c..05cc2d7 100644
--- a/arch/x86/kvm/Makefile
+++ b/arch/x86/kvm/Makefile
@@ -6,6 +6,9 @@ CFLAGS_svm.o := -I.
 CFLAGS_vmx.o := -I.
 
 KVM := ../../../virt/kvm
+LIB := ../../../virt/lib
+
+obj-$(CONFIG_IRQ_BYPASS_MANAGER)	+= $(LIB)/
 
 kvm-y			+= $(KVM)/kvm_main.o $(KVM)/coalesced_mmio.o \
 				$(KVM)/eventfd.o $(KVM)/irqchip.o $(KVM)/vfio.o
-- 
2.1.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v9 00/18] Add VT-d Posted-Interrupts support - including prerequisite series Feng Wu <feng.wu@intel.com> - 2015-09-18 16:50 +0200
  Re: [PATCH v9 00/18] Add VT-d Posted-Interrupts support - including  prerequisite series Paolo Bonzini <pbonzini@redhat.com> - 2015-09-18 17:00 +0200
    RE: [PATCH v9 00/18] Add VT-d Posted-Interrupts support - including  prerequisite series "Wu, Feng" <feng.wu@intel.com> - 2015-09-18 17:20 +0200
      Re: [PATCH v9 00/18] Add VT-d Posted-Interrupts support - including  prerequisite series Paolo Bonzini <pbonzini@redhat.com> - 2015-09-18 17:30 +0200
        RE: [PATCH v9 00/18] Add VT-d Posted-Interrupts support - including  prerequisite series "Wu, Feng" <feng.wu@intel.com> - 2015-09-18 17:40 +0200
    Re: [PATCH v9 00/18] Add VT-d Posted-Interrupts support - including  prerequisite series Alex Williamson <alex.williamson@redhat.com> - 2015-09-18 20:00 +0200
  [PATCH v9 04/18] KVM: create kvm_irqfd.h Feng Wu <feng.wu@intel.com> - 2015-09-18 17:00 +0200
    RE: [PATCH v9 04/18] KVM: create kvm_irqfd.h "Wu, Feng" <feng.wu@intel.com> - 2015-09-18 17:40 +0200
  [PATCH v9 02/18] KVM: x86: select IRQ_BYPASS_MANAGER Feng Wu <feng.wu@intel.com> - 2015-09-18 17:00 +0200
  [PATCH v9 05/18] KVM: introduce kvm_arch functions for IRQ bypass Feng Wu <feng.wu@intel.com> - 2015-09-18 17:00 +0200

csiph-web