]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
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 8e99fed6b3fd932a61b8d2de2537710748717b2d..f833a0b4188df833650ed4a621172f9765269e85 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 ce3251ce5504e478ff65f936608245be3df7312e..b81125f0bdee21be384aeb058f3bb96d7fe767b7 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