x86 randconfig testing found the following build failure: arch/x86/lguest/boot.c: In function 'lazy_hcall': arch/x86/lguest/boot.c:151: error: implicit declaration of function 'paravirt_get_lazy_mode' arch/x86/lguest/boot.c:151: error: 'PARAVIRT_LAZY_NONE' undeclared (first use in this function) which i bisected down to this very fresh commit: commit 84f7466ee20cc094aa38617abfa2f3834871f054 Author: Rusty Russell Date: Sat Jan 19 07:02:29 2008 +1100 Selecting LGUEST should turn on Guest support, as in 2.6.23. which allows the following .config variation: # CONFIG_PARAVIRT_GUEST is not set CONFIG_LGUEST_GUEST=y please revert that commit, or apply the fix below. btw., i didnt even notice that patch because it is not visible on lkml, etc. NOTE: i found this problem this very minute so the patch below has not been tested through yet (it does build and boot with the attached config), but it seems obvious (to me). Ingo -------------------> Subject: x86: lguest fix From: Ingo Molnar this commit: commit 84f7466ee20cc094aa38617abfa2f3834871f054 Author: Rusty Russell Date: Sat Jan 19 07:02:29 2008 +1100 Selecting LGUEST should turn on Guest support, as in 2.6.23. caused build failures due to allowing LGUEST to be selected without paravirt support. Signed-off-by: Ingo Molnar --- drivers/lguest/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux/drivers/lguest/Kconfig =================================================================== --- linux.orig/drivers/lguest/Kconfig +++ linux/drivers/lguest/Kconfig @@ -1,6 +1,6 @@ config LGUEST tristate "Linux hypervisor example code" - depends on X86_32 && EXPERIMENTAL && !X86_PAE && FUTEX && !(X86_VISWS || X86_VOYAGER) + depends on X86_32 && EXPERIMENTAL && PARAVIRT_GUEST && !X86_PAE && FUTEX && !(X86_VISWS || X86_VOYAGER) select HVC_DRIVER select LGUEST_GUEST ---help---