[PATCH 1/2] Allow enabling PARAVIRT without any guest implementation

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jeremy Fitzhardinge <jeremy@...>
Cc: Ingo Molnar <mingo@...>, <linux-kernel@...>, <akpm@...>, <glommer@...>, <tglx@...>, <avi@...>, <anthony@...>, <virtualization@...>, <rusty@...>, <ak@...>, <chrisw@...>, <rostedt@...>, <hpa@...>, <zach@...>, <roland@...>, <mtosatti@...>
Date: Tuesday, January 22, 2008 - 2:50 pm

On Tue, Jan 22, 2008 at 09:55:41AM -0800, Jeremy Fitzhardinge wrote:

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>
---
 arch/x86/Kconfig |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 4e910d8..715bbcd 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -325,15 +325,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
@@ -359,6 +350,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
-- 
1.5.3.4

-- 
Eduardo
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/4] paravirt_ops-64 compile fixes, Eduardo Habkost, (Mon Jan 21, 5:48 pm)
Re: [PATCH 0/4] paravirt_ops-64 compile fixes, Ingo Molnar, (Tue Jan 22, 8:02 am)
Re: [PATCH 0/4] paravirt_ops-64 compile fixes, Eduardo Pereira Habkost, (Tue Jan 22, 8:34 am)
Re: [PATCH 0/4] paravirt_ops-64 compile fixes, Jeremy Fitzhardinge, (Tue Jan 22, 1:55 pm)
Re: [PATCH 0/4] paravirt_ops-64 compile fixes, Ingo Molnar, (Tue Jan 22, 3:47 pm)
Re: [PATCH 0/4] paravirt_ops-64 compile fixes, Jeremy Fitzhardinge, (Tue Jan 22, 4:05 pm)
[PATCH 1/2] Allow enabling PARAVIRT without any guest implem..., Eduardo Pereira Habkost, (Tue Jan 22, 2:50 pm)
[PATCH 2/2] Remove depends on X86_32 from PARAVIRT &amp; PAR..., Eduardo Pereira Habkost, (Tue Jan 22, 2:52 pm)
[PATCH 1/4] Add missing semicolon to SWAPGS macro, Eduardo Habkost, (Mon Jan 21, 5:48 pm)