浏览代码

KVM: Require the PCI subsystem

PCI device assignment makes calls to pci code, so require it to be built
into the kernel.

Signed-off-by: Avi Kivity <avi@qumranet.com>
Avi Kivity 16 年之前
父节点
当前提交
ca93e992fd
共有 2 个文件被更改,包括 4 次插入0 次删除
  1. 2 0
      arch/ia64/kvm/Kconfig
  2. 2 0
      arch/x86/kvm/Kconfig

+ 2 - 0
arch/ia64/kvm/Kconfig

@@ -20,6 +20,8 @@ if VIRTUALIZATION
 config KVM
 	tristate "Kernel-based Virtual Machine (KVM) support"
 	depends on HAVE_KVM && EXPERIMENTAL
+	# for device assignment:
+	depends on PCI
 	select PREEMPT_NOTIFIERS
 	select ANON_INODES
 	---help---

+ 2 - 0
arch/x86/kvm/Kconfig

@@ -20,6 +20,8 @@ if VIRTUALIZATION
 config KVM
 	tristate "Kernel-based Virtual Machine (KVM) support"
 	depends on HAVE_KVM
+	# for device assignment:
+	depends on PCI
 	select PREEMPT_NOTIFIERS
 	select MMU_NOTIFIER
 	select ANON_INODES