diff options
author | Eduardo Pereira Habkost <ehabkost@redhat.com> | 2008-01-30 07:33:32 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:33:32 -0500 |
commit | e61bd94a36a9f2c394d75ebe3614fe0a612bcf2d (patch) | |
tree | 7c6a989d07437fac2b93cb973fee2e487f96ff00 /arch | |
parent | 612a95b4e053b8a06319049191fd2dce9c970189 (diff) |
x86: allow enabling PARAVIRT without any guest implementation
This will allow people to enable the paravirt_ops code even when no
guest support is enabled, for broader testing of the paravirt_ops code.
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/Kconfig | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 4e911d0a4962..5e0cde8294c9 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -310,15 +310,6 @@ config SCHED_NO_NO_OMIT_FRAME_POINTER | |||
310 | 310 | ||
311 | If in doubt, say "Y". | 311 | If in doubt, say "Y". |
312 | 312 | ||
313 | config PARAVIRT | ||
314 | bool | ||
315 | depends on X86_32 && !(X86_VISWS || X86_VOYAGER) | ||
316 | help | ||
317 | This changes the kernel so it can modify itself when it is run | ||
318 | under a hypervisor, potentially improving performance significantly | ||
319 | over full virtualization. However, when run without a hypervisor | ||
320 | the kernel is theoretically slower and slightly larger. | ||
321 | |||
322 | menuconfig PARAVIRT_GUEST | 313 | menuconfig PARAVIRT_GUEST |
323 | bool "Paravirtualized guest support" | 314 | bool "Paravirtualized guest support" |
324 | depends on X86_32 | 315 | depends on X86_32 |
@@ -344,6 +335,15 @@ config VMI | |||
344 | 335 | ||
345 | source "arch/x86/lguest/Kconfig" | 336 | source "arch/x86/lguest/Kconfig" |
346 | 337 | ||
338 | config PARAVIRT | ||
339 | bool "Enable paravirtualization code" | ||
340 | depends on X86_32 && !(X86_VISWS || X86_VOYAGER) | ||
341 | help | ||
342 | This changes the kernel so it can modify itself when it is run | ||
343 | under a hypervisor, potentially improving performance significantly | ||
344 | over full virtualization. However, when run without a hypervisor | ||
345 | the kernel is theoretically slower and slightly larger. | ||
346 | |||
347 | endif | 347 | endif |
348 | 348 | ||
349 | config ACPI_SRAT | 349 | config ACPI_SRAT |