KVM: Require the PCI subsystem
authorAvi Kivity <avi@redhat.com>
Tue, 4 Nov 2008 09:25:17 +0000 (11:25 +0200)
committerAvi Kivity <avi@redhat.com>
Tue, 11 Nov 2008 18:56:13 +0000 (20:56 +0200)
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>
arch/ia64/kvm/Kconfig
arch/x86/kvm/Kconfig

index 8e99fed..f833a0b 100644 (file)
@@ -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---
index ce3251c..b81125f 100644 (file)
@@ -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