diff options
Diffstat (limited to 'arch/powerpc/kvm/Kconfig')
-rw-r--r-- | arch/powerpc/kvm/Kconfig | 37 |
1 files changed, 35 insertions, 2 deletions
diff --git a/arch/powerpc/kvm/Kconfig b/arch/powerpc/kvm/Kconfig index b7baff78f90c..5d9b78ebbaa6 100644 --- a/arch/powerpc/kvm/Kconfig +++ b/arch/powerpc/kvm/Kconfig | |||
@@ -20,7 +20,6 @@ config KVM | |||
20 | bool | 20 | bool |
21 | select PREEMPT_NOTIFIERS | 21 | select PREEMPT_NOTIFIERS |
22 | select ANON_INODES | 22 | select ANON_INODES |
23 | select KVM_MMIO | ||
24 | 23 | ||
25 | config KVM_BOOK3S_HANDLER | 24 | config KVM_BOOK3S_HANDLER |
26 | bool | 25 | bool |
@@ -28,16 +27,22 @@ config KVM_BOOK3S_HANDLER | |||
28 | config KVM_BOOK3S_32_HANDLER | 27 | config KVM_BOOK3S_32_HANDLER |
29 | bool | 28 | bool |
30 | select KVM_BOOK3S_HANDLER | 29 | select KVM_BOOK3S_HANDLER |
30 | select KVM_MMIO | ||
31 | 31 | ||
32 | config KVM_BOOK3S_64_HANDLER | 32 | config KVM_BOOK3S_64_HANDLER |
33 | bool | 33 | bool |
34 | select KVM_BOOK3S_HANDLER | 34 | select KVM_BOOK3S_HANDLER |
35 | 35 | ||
36 | config KVM_BOOK3S_PR | ||
37 | bool | ||
38 | select KVM_MMIO | ||
39 | |||
36 | config KVM_BOOK3S_32 | 40 | config KVM_BOOK3S_32 |
37 | tristate "KVM support for PowerPC book3s_32 processors" | 41 | tristate "KVM support for PowerPC book3s_32 processors" |
38 | depends on EXPERIMENTAL && PPC_BOOK3S_32 && !SMP && !PTE_64BIT | 42 | depends on EXPERIMENTAL && PPC_BOOK3S_32 && !SMP && !PTE_64BIT |
39 | select KVM | 43 | select KVM |
40 | select KVM_BOOK3S_32_HANDLER | 44 | select KVM_BOOK3S_32_HANDLER |
45 | select KVM_BOOK3S_PR | ||
41 | ---help--- | 46 | ---help--- |
42 | Support running unmodified book3s_32 guest kernels | 47 | Support running unmodified book3s_32 guest kernels |
43 | in virtual machines on book3s_32 host processors. | 48 | in virtual machines on book3s_32 host processors. |
@@ -50,8 +55,8 @@ config KVM_BOOK3S_32 | |||
50 | config KVM_BOOK3S_64 | 55 | config KVM_BOOK3S_64 |
51 | tristate "KVM support for PowerPC book3s_64 processors" | 56 | tristate "KVM support for PowerPC book3s_64 processors" |
52 | depends on EXPERIMENTAL && PPC_BOOK3S_64 | 57 | depends on EXPERIMENTAL && PPC_BOOK3S_64 |
53 | select KVM | ||
54 | select KVM_BOOK3S_64_HANDLER | 58 | select KVM_BOOK3S_64_HANDLER |
59 | select KVM | ||
55 | ---help--- | 60 | ---help--- |
56 | Support running unmodified book3s_64 and book3s_32 guest kernels | 61 | Support running unmodified book3s_64 and book3s_32 guest kernels |
57 | in virtual machines on book3s_64 host processors. | 62 | in virtual machines on book3s_64 host processors. |
@@ -61,10 +66,37 @@ config KVM_BOOK3S_64 | |||
61 | 66 | ||
62 | If unsure, say N. | 67 | If unsure, say N. |
63 | 68 | ||
69 | config KVM_BOOK3S_64_HV | ||
70 | bool "KVM support for POWER7 using hypervisor mode in host" | ||
71 | depends on KVM_BOOK3S_64 | ||
72 | ---help--- | ||
73 | Support running unmodified book3s_64 guest kernels in | ||
74 | virtual machines on POWER7 processors that have hypervisor | ||
75 | mode available to the host. | ||
76 | |||
77 | If you say Y here, KVM will use the hardware virtualization | ||
78 | facilities of POWER7 (and later) processors, meaning that | ||
79 | guest operating systems will run at full hardware speed | ||
80 | using supervisor and user modes. However, this also means | ||
81 | that KVM is not usable under PowerVM (pHyp), is only usable | ||
82 | on POWER7 (or later) processors, and can only emulate | ||
83 | POWER5+, POWER6 and POWER7 processors. | ||
84 | |||
85 | This module provides access to the hardware capabilities through | ||
86 | a character device node named /dev/kvm. | ||
87 | |||
88 | If unsure, say N. | ||
89 | |||
90 | config KVM_BOOK3S_64_PR | ||
91 | def_bool y | ||
92 | depends on KVM_BOOK3S_64 && !KVM_BOOK3S_64_HV | ||
93 | select KVM_BOOK3S_PR | ||
94 | |||
64 | config KVM_440 | 95 | config KVM_440 |
65 | bool "KVM support for PowerPC 440 processors" | 96 | bool "KVM support for PowerPC 440 processors" |
66 | depends on EXPERIMENTAL && 44x | 97 | depends on EXPERIMENTAL && 44x |
67 | select KVM | 98 | select KVM |
99 | select KVM_MMIO | ||
68 | ---help--- | 100 | ---help--- |
69 | Support running unmodified 440 guest kernels in virtual machines on | 101 | Support running unmodified 440 guest kernels in virtual machines on |
70 | 440 host processors. | 102 | 440 host processors. |
@@ -89,6 +121,7 @@ config KVM_E500 | |||
89 | bool "KVM support for PowerPC E500 processors" | 121 | bool "KVM support for PowerPC E500 processors" |
90 | depends on EXPERIMENTAL && E500 | 122 | depends on EXPERIMENTAL && E500 |
91 | select KVM | 123 | select KVM |
124 | select KVM_MMIO | ||
92 | ---help--- | 125 | ---help--- |
93 | Support running unmodified E500 guest kernels in virtual machines on | 126 | Support running unmodified E500 guest kernels in virtual machines on |
94 | E500 host processors. | 127 | E500 host processors. |