Skip to content

Commit

Permalink
KVM: ppc: fix Kconfig constraints
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Hollis Blanchard authored and Avi Kivity committed Dec 31, 2008
1 parent 7874980 commit 74ef740
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions arch/powerpc/kvm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 74ef740

Please sign in to comment.