diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2007-10-21 20:55:21 -0400 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2007-10-23 01:49:47 -0400 |
commit | d3d1c4bdf16bd154d9f27f34fca28edca90465eb (patch) | |
tree | d1f7d0c29af89e1ff23bf56defe54f62b1577681 /arch | |
parent | 0895e91d60ef9bdef426d1ce14bb94bd5875870d (diff) |
Normalize config options for guest support
1) Group all the "guest OS" support options together, under a PARAVIRT_GUEST
menu.
2) Make those options select CONFIG_PARAVIRT, as suggested by Andi.
3) Make kconfig help titles consistent.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Andi Kleen <ak@suse.de>
Cc: Zach Amsden <zach@vmware.com>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: Chris Wright <chrisw@sous-sol.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/i386/Kconfig | 38 | ||||
-rw-r--r-- | arch/x86/xen/Kconfig | 5 |
2 files changed, 31 insertions, 12 deletions
diff --git a/arch/i386/Kconfig b/arch/i386/Kconfig index f6e44fc5283c..3523e82c8412 100644 --- a/arch/i386/Kconfig +++ b/arch/i386/Kconfig | |||
@@ -227,28 +227,46 @@ config SCHED_NO_NO_OMIT_FRAME_POINTER | |||
227 | If in doubt, say "Y". | 227 | If in doubt, say "Y". |
228 | 228 | ||
229 | config PARAVIRT | 229 | config PARAVIRT |
230 | bool "Paravirtualization support (EXPERIMENTAL)" | 230 | bool |
231 | depends on EXPERIMENTAL | ||
232 | depends on !(X86_VISWS || X86_VOYAGER) | 231 | depends on !(X86_VISWS || X86_VOYAGER) |
233 | help | 232 | help |
234 | Paravirtualization is a way of running multiple instances of | 233 | This changes the kernel so it can modify itself when it is run |
235 | Linux on the same machine, under a hypervisor. This option | 234 | under a hypervisor, potentially improving performance significantly |
236 | changes the kernel so it can modify itself when it is run | 235 | over full virtualization. However, when run without a hypervisor |
237 | under a hypervisor, improving performance significantly. | 236 | the kernel is theoretically slower and slightly larger. |
238 | However, when run without a hypervisor the kernel is | 237 | |
239 | theoretically slower. If in doubt, say N. | 238 | menuconfig PARAVIRT_GUEST |
239 | bool "Paravirtualized guest support" | ||
240 | help | ||
241 | Say Y here to get to see options related to running Linux under | ||
242 | various hypervisors. This option alone does not add any kernel code. | ||
243 | |||
244 | If you say N, all options in this submenu will be skipped and disabled. | ||
245 | |||
246 | if PARAVIRT_GUEST | ||
240 | 247 | ||
241 | source "arch/x86/xen/Kconfig" | 248 | source "arch/x86/xen/Kconfig" |
242 | 249 | ||
243 | config VMI | 250 | config VMI |
244 | bool "VMI Paravirt-ops support" | 251 | bool "VMI Guest support" |
245 | depends on PARAVIRT | 252 | select PARAVIRT |
253 | depends on !(X86_VISWS || X86_VOYAGER) | ||
246 | help | 254 | help |
247 | VMI provides a paravirtualized interface to the VMware ESX server | 255 | VMI provides a paravirtualized interface to the VMware ESX server |
248 | (it could be used by other hypervisors in theory too, but is not | 256 | (it could be used by other hypervisors in theory too, but is not |
249 | at the moment), by linking the kernel to a GPL-ed ROM module | 257 | at the moment), by linking the kernel to a GPL-ed ROM module |
250 | provided by the hypervisor. | 258 | provided by the hypervisor. |
251 | 259 | ||
260 | config LGUEST_GUEST | ||
261 | bool "Lguest guest support" | ||
262 | select PARAVIRT | ||
263 | depends on !X86_PAE | ||
264 | help | ||
265 | Lguest is a tiny in-kernel hypervisor. Selecting this will | ||
266 | allow your kernel to boot under lguest. This option will increase | ||
267 | your kernel size by about 6k. If in doubt, say N. | ||
268 | endif | ||
269 | |||
252 | config ACPI_SRAT | 270 | config ACPI_SRAT |
253 | bool | 271 | bool |
254 | default y | 272 | default y |
diff --git a/arch/x86/xen/Kconfig b/arch/x86/xen/Kconfig index 9df99e1885a4..fbfa55ce0d55 100644 --- a/arch/x86/xen/Kconfig +++ b/arch/x86/xen/Kconfig | |||
@@ -3,8 +3,9 @@ | |||
3 | # | 3 | # |
4 | 4 | ||
5 | config XEN | 5 | config XEN |
6 | bool "Enable support for Xen hypervisor" | 6 | bool "Xen guest support" |
7 | depends on PARAVIRT && X86_CMPXCHG && X86_TSC && !NEED_MULTIPLE_NODES | 7 | select PARAVIRT |
8 | depends on X86_CMPXCHG && X86_TSC && !NEED_MULTIPLE_NODES && !(X86_VISWS || X86_VOYAGER) | ||
8 | help | 9 | help |
9 | This is the Linux Xen port. Enabling this will allow the | 10 | This is the Linux Xen port. Enabling this will allow the |
10 | kernel to boot in a paravirtualized environment under the | 11 | kernel to boot in a paravirtualized environment under the |