Skip to contentSkip to conversation

x86: PARAVIRT needed by PARAVIRT_GUEST or X86_VSMP

PATCH Applied Yinghai Lu 2 participants 2 messages Feb 26, 2008 x86

lore
Share & tools
lore

Yinghai Lu

author
#0 lore raw

PATCH 1/1 x86: PARAVIRT needed by PARAVIRT_GUEST or X86_VSMP

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

arch/x86/Kconfig +4 -0
index 92b53ec..5bbb385 100644
@@ -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)
Applied
#1 lore raw
Quoted 2 lines · Yinghai Lu

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