Re: [PATCH] [kvm-devel] build #365 issue forv2.6.25-rc2-342-g5d9c4a7 in ./arch/x86/kvm/kvm.ko
From: Randy Dunlap
Date: Mon Feb 25 2008 - 18:08:17 EST
On Wed, 20 Feb 2008 09:20:08 -0800 Randy Dunlap wrote:
> On Wed, 20 Feb 2008 16:07:03 +0200 Avi Kivity wrote:
>
> > > Looks like KVM conflicts with CONFIG_VOYAGER...
> > >
> >
> > Attached patch should fix.
> >
> > Subject: x86: disable KVM on Voyager
> >
> > Most classic Pentiums don't have hardware virtualization
> > extension, and building kvm with voyager generates
> > spurious failures.
> >
> > Signed-off-by: Avi Kivity <avi@xxxxxxxxxxxx>
>
> Might as well extend it for VISWS & NUMAQ:
Can we get this merged soon-ish?
> ---
> From: Avi Kivity <avi@xxxxxxxxxxxx>
>
> Most classic Pentiums don't have hardware virtualization extension,
> and building kvm with Voyager, Visual Workstation, or NUMAQ
> generates spurious failures.
>
> Signed-off-by: Avi Kivity <avi@xxxxxxxxxxxx>
> Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
> ---
> arch/x86/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- linux-2.6.25-rc2-git4.orig/arch/x86/Kconfig
> +++ linux-2.6.25-rc2-git4/arch/x86/Kconfig
> @@ -21,7 +21,7 @@ config X86
> select HAVE_IDE
> select HAVE_OPROFILE
> select HAVE_KPROBES
> - select HAVE_KVM
> + select HAVE_KVM if ((X86_32 && !X86_VOYAGER && !X86_VISWS && !X86_NUMAQ) || X86_64)
>
>
> config GENERIC_LOCKBREAK
> --
---
~Randy
--
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/