[PATCH] x86: PARAVIRT needed by PARAVIRT_GUEST or X86_VSMP

From: Yinghai Lu
Date: Mon Feb 25 2008 - 19:20:29 EST



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

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

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)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/