]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
x86: allow enabling PARAVIRT without any guest implementation
authorEduardo Pereira Habkost <ehabkost@redhat.com>
Wed, 30 Jan 2008 12:33:32 +0000 (13:33 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:33:32 +0000 (13:33 +0100)
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>
arch/x86/Kconfig

index 4e911d0a49627ec287cffe676520f64537388d21..5e0cde8294c9f29a2ce632a9e1c929f4a4f66983 100644 (file)
@@ -310,15 +310,6 @@ config SCHED_NO_NO_OMIT_FRAME_POINTER
 
          If in doubt, say "Y".
 
-config PARAVIRT
-       bool
-       depends on X86_32 && !(X86_VISWS || X86_VOYAGER)
-       help
-         This changes the kernel so it can modify itself when it is run
-         under a hypervisor, potentially improving performance significantly
-         over full virtualization.  However, when run without a hypervisor
-         the kernel is theoretically slower and slightly larger.
-
 menuconfig PARAVIRT_GUEST
        bool "Paravirtualized guest support"
        depends on X86_32
@@ -344,6 +335,15 @@ config VMI
 
 source "arch/x86/lguest/Kconfig"
 
+config PARAVIRT
+       bool "Enable paravirtualization code"
+       depends on X86_32 && !(X86_VISWS || X86_VOYAGER)
+       help
+         This changes the kernel so it can modify itself when it is run
+         under a hypervisor, potentially improving performance significantly
+         over full virtualization.  However, when run without a hypervisor
+         the kernel is theoretically slower and slightly larger.
+
 endif
 
 config ACPI_SRAT