LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] x86: PARAVIRT needed by PARAVIRT_GUEST or X86_VSMP
@ 2008-02-26  0:28 Yinghai Lu
  2008-02-26  7:29 ` Ingo Molnar
  0 siblings, 1 reply; 2+ messages in thread
From: Yinghai Lu @ 2008-02-26  0:28 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: Andrew Morton, Linux Kernel Mailing List, Sam Ravnborg


so it could be off automatically when PARAVIRT_GUEST or X86_VSMP is not there

Signed-off-by: Yinghai Lu <yinghai.lu@sun.com>

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 92b53ec..5bbb385 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -379,6 +379,8 @@ source "arch/x86/lguest/Kconfig"
 
 endif
 
+if PARAVIRT_GUEST || X86_VSMP
+
 config PARAVIRT
 	bool "Enable paravirtualization code"
 	depends on !(X86_VISWS || X86_VOYAGER)
@@ -388,6 +390,8 @@ config PARAVIRT
 	  over full virtualization.  However, when run without a hypervisor
 	  the kernel is theoretically slower and slightly larger.
 
+endif
+
 config ACPI_SRAT
 	def_bool y
 	depends on X86_32 && ACPI && NUMA && (X86_SUMMIT || X86_GENERICARCH)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] x86: PARAVIRT needed by PARAVIRT_GUEST or X86_VSMP
  2008-02-26  0:28 [PATCH] x86: PARAVIRT needed by PARAVIRT_GUEST or X86_VSMP Yinghai Lu
@ 2008-02-26  7:29 ` Ingo Molnar
  0 siblings, 0 replies; 2+ messages in thread
From: Ingo Molnar @ 2008-02-26  7:29 UTC (permalink / raw)
  To: Yinghai Lu; +Cc: Andrew Morton, Linux Kernel Mailing List, Sam Ravnborg


* Yinghai Lu <Yinghai.Lu@Sun.COM> wrote:

> so it could be off automatically when PARAVIRT_GUEST or X86_VSMP is 
> not there

thanks, applied. This whole VSMP + PARAVIRT business has to be done 
cleaner though before it's upstream ready, all the Kconfig magic looks 
rather twisted.

	Ingo

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-02-26  7:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-26  0:28 [PATCH] x86: PARAVIRT needed by PARAVIRT_GUEST or X86_VSMP Yinghai Lu
2008-02-26  7:29 ` Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).