summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2008-11-04 10:25:17 +0100
committerAvi Kivity <avi@redhat.com>2008-11-11 19:56:13 +0100
commitca93e992fdfdc6569ac2845d7560eeb5de4a4e0b (patch)
treeaa5c11b0bded1b7ccb02d17d0171f3eb2e3bc375 /arch
parentx86: KVM guest: fix section mismatch warning in kvmclock.c (diff)
downloadlinux-ca93e992fdfdc6569ac2845d7560eeb5de4a4e0b.tar.xz
linux-ca93e992fdfdc6569ac2845d7560eeb5de4a4e0b.zip
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/ia64/kvm/Kconfig2
-rw-r--r--arch/x86/kvm/Kconfig2
2 files changed, 4 insertions, 0 deletions
diff --git a/arch/ia64/kvm/Kconfig b/arch/ia64/kvm/Kconfig
index 8e99fed6b3fd..f833a0b4188d 100644
--- a/arch/ia64/kvm/Kconfig
+++ b/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---
diff --git a/arch/x86/kvm/Kconfig b/arch/x86/kvm/Kconfig
index ce3251ce5504..b81125f0bdee 100644
--- a/arch/x86/kvm/Kconfig
+++ b/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