aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kvm/Kconfig
diff options
context:
space:
mode:
authorHollis Blanchard <hollisb@us.ibm.com>2008-11-07 14:15:13 -0500
committerAvi Kivity <avi@redhat.com>2008-12-31 09:52:25 -0500
commit74ef740da64fd82a14dbab6d7f43d798ecc1b6cc (patch)
tree332006502aa9f33e20d22cdba802024348bb0709 /arch/powerpc/kvm/Kconfig
parent78749809222be5083e21bfe697b44ab797e5c0a8 (diff)
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 37e9b3c52a38..e4ab1c7fd925 100644
--- a/arch/powerpc/kvm/Kconfig
+++ b/arch/powerpc/kvm/Kconfig
@@ -15,25 +15,23 @@ menuconfig VIRTUALIZATION
15if VIRTUALIZATION 15if VIRTUALIZATION
16 16
17config KVM 17config KVM
18 bool "Kernel-based Virtual Machine (KVM) support" 18 bool
19 depends on EXPERIMENTAL
20 select PREEMPT_NOTIFIERS 19 select PREEMPT_NOTIFIERS
21 select ANON_INODES 20 select ANON_INODES
21
22config KVM_440
23 bool "KVM support for PowerPC 440 processors"
24 depends on EXPERIMENTAL && 44x
25 select KVM
22 ---help--- 26 ---help---
23 Support hosting virtualized guest machines. You will also 27 Support running unmodified 440 guest kernels in virtual machines on
24 need to select one or more of the processor modules below. 28 440 host processors.
25 29
26 This module provides access to the hardware capabilities through 30 This module provides access to the hardware capabilities through
27 a character device node named /dev/kvm. 31 a character device node named /dev/kvm.
28 32
29 If unsure, say N. 33 If unsure, say N.
30 34
31config KVM_440
32 bool "KVM support for PowerPC 440 processors"
33 depends on KVM && 44x
34 ---help---
35 KVM can run unmodified 440 guest kernels on 440 host processors.
36
37config KVM_TRACE 35config KVM_TRACE
38 bool "KVM trace support" 36 bool "KVM trace support"
39 depends on KVM && MARKERS && SYSFS 37 depends on KVM && MARKERS && SYSFS