aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kvm/Kconfig
diff options
context:
space:
mode:
authorHollis Blanchard <hollisb@us.ibm.com>2008-11-05 10:36:14 -0500
committerAvi Kivity <avi@redhat.com>2008-12-31 09:52:21 -0500
commit9dd921cfea734409a931ccc6eafd7f09850311e9 (patch)
tree84bd4c0fe65cb866dd78882c90e54df5f7d17313 /arch/powerpc/kvm/Kconfig
parentd9fbd03d240380826c0ec16f927242be24ff6265 (diff)
KVM: ppc: Refactor powerpc.c to relocate 440-specific code
This introduces a set of core-provided hooks. For 440, some of these are implemented by booke.c, with the rest in (the new) 44x.c. Note that these hooks are link-time, not run-time. Since it is not possible to build a single kernel for both e500 and 440 (for example), using function pointers would only add overhead. 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/Kconfig11
1 files changed, 4 insertions, 7 deletions
diff --git a/arch/powerpc/kvm/Kconfig b/arch/powerpc/kvm/Kconfig
index ffed96f817f7..37e9b3c52a38 100644
--- a/arch/powerpc/kvm/Kconfig
+++ b/arch/powerpc/kvm/Kconfig
@@ -16,11 +16,9 @@ if VIRTUALIZATION
16 16
17config KVM 17config KVM
18 bool "Kernel-based Virtual Machine (KVM) support" 18 bool "Kernel-based Virtual Machine (KVM) support"
19 depends on 44x && EXPERIMENTAL 19 depends on EXPERIMENTAL
20 select PREEMPT_NOTIFIERS 20 select PREEMPT_NOTIFIERS
21 select ANON_INODES 21 select ANON_INODES
22 # We can only run on Book E hosts so far
23 select KVM_BOOKE
24 ---help--- 22 ---help---
25 Support hosting virtualized guest machines. You will also 23 Support hosting virtualized guest machines. You will also
26 need to select one or more of the processor modules below. 24 need to select one or more of the processor modules below.
@@ -30,12 +28,11 @@ config KVM
30 28
31 If unsure, say N. 29 If unsure, say N.
32 30
33config KVM_BOOKE 31config KVM_440
34 bool "KVM support for Book E PowerPC processors" 32 bool "KVM support for PowerPC 440 processors"
35 depends on KVM && 44x 33 depends on KVM && 44x
36 ---help--- 34 ---help---
37 Provides host support for KVM on Book E PowerPC processors. Currently 35 KVM can run unmodified 440 guest kernels on 440 host processors.
38 this works on 440 processors only.
39 36
40config KVM_TRACE 37config KVM_TRACE
41 bool "KVM trace support" 38 bool "KVM trace support"