diff -urN linux-2.6.25-rc2.orig/drivers/lguest/Kconfig linux-2.6.25-rc2/drivers/lguest/Kconfig --- linux-2.6.25-rc2.orig/drivers/lguest/Kconfig 2008-02-16 23:21:29.000000000 -0300 +++ linux-2.6.25-rc2/drivers/lguest/Kconfig 2008-02-17 21:44:57.000000000 -0300 @@ -1,7 +1,17 @@ config LGUEST - tristate "Linux hypervisor example code" + bool "Linux hypervisor" depends on X86_32 && EXPERIMENTAL && !X86_PAE && FUTEX && !(X86_VISWS || X86_VOYAGER) + default y + ---help--- + This allows you to select the linux hypervisor example code. + +if LGUEST + +config LGUEST_HYPERVISOR + tristate "Linux hypervisor example code" + depends on LGUEST select HVC_DRIVER + default m ---help--- This is a very simple module which allows you to run multiple instances of the same Linux kernel, using the @@ -10,3 +20,5 @@ not "rustyvisor". See Documentation/lguest/lguest.txt. If unsure, say N. If curious, say M. If masochistic, say Y. + +endif # LGUEST diff -urN linux-2.6.25-rc2.orig/drivers/lguest/Makefile linux-2.6.25-rc2/drivers/lguest/Makefile --- linux-2.6.25-rc2.orig/drivers/lguest/Makefile 2008-02-16 23:21:29.000000000 -0300 +++ linux-2.6.25-rc2/drivers/lguest/Makefile 2008-02-17 22:21:53.000000000 -0300 @@ -2,7 +2,7 @@ obj-$(CONFIG_LGUEST_GUEST) += lguest_device.o # Host requires the other files, which can be a module. -obj-$(CONFIG_LGUEST) += lg.o +obj-$(CONFIG_LGUEST_HYPERVISOR) += lg.o lg-y = core.o hypercalls.o page_tables.o interrupts_and_traps.o \ segments.o lguest_user.o