aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kvm/Kconfig
diff options
context:
space:
mode:
authorHollis Blanchard <hollisb@us.ibm.com>2008-11-07 13:15:13 -0600
committerAvi Kivity <avi@redhat.com>2008-12-31 16:52:25 +0200
commit74ef740da64fd82a14dbab6d7f43d798ecc1b6cc (patch)
tree332006502aa9f33e20d22cdba802024348bb0709 /arch/powerpc/kvm/Kconfig
parent78749809222be5083e21bfe697b44ab797e5c0a8 (diff)
downloadkernel_samsung_crespo-74ef740da64fd82a14dbab6d7f43d798ecc1b6cc.zip
kernel_samsung_crespo-74ef740da64fd82a14dbab6d7f43d798ecc1b6cc.tar.gz
kernel_samsung_crespo-74ef740da64fd82a14dbab6d7f43d798ecc1b6cc.tar.bz2
KVM: ppc: fix Kconfig constraints
Make sure that CONFIG_KVM cannot be selected without processor support (currently, 440 is the only processor implementation available). Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/powerpc/kvm/Kconfig')
-rw-r--r--arch/powerpc/kvm/Kconfig18
1 files changed, 8 insertions, 10 deletions
diff --git a/arch/powerpc/kvm/Kconfig b/arch/powerpc/kvm/Kconfig
index 37e9b3c..e4ab1c7 100644
--- a/arch/powerpc/kvm/Kconfig
+++ b/arch/powerpc/kvm/Kconfig
@@ -15,25 +15,23 @@ menuconfig VIRTUALIZATION
if VIRTUALIZATION
config KVM
- bool "Kernel-based Virtual Machine (KVM) support"
- depends on EXPERIMENTAL
+ bool
select PREEMPT_NOTIFIERS
select ANON_INODES
+
+config KVM_440
+ bool "KVM support for PowerPC 440 processors"
+ depends on EXPERIMENTAL && 44x
+ select KVM
---help---
- Support hosting virtualized guest machines. You will also
- need to select one or more of the processor modules below.
+ Support running unmodified 440 guest kernels in virtual machines on
+ 440 host processors.
This module provides access to the hardware capabilities through
a character device node named /dev/kvm.
If unsure, say N.
-config KVM_440
- bool "KVM support for PowerPC 440 processors"
- depends on KVM && 44x
- ---help---
- KVM can run unmodified 440 guest kernels on 440 host processors.
-
config KVM_TRACE
bool "KVM trace support"
depends on KVM && MARKERS && SYSFS