From: "Balbir Singh" <balbir@linux.vnet.ibm.com>
To: "Dave Hansen" <haveblue@us.ibm.com>
Cc: "Avi Kivity" <avi@argo.co.il>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
kvm-devel <kvm-devel@lists.sourceforge.net>,
"Sam Ravnborg" <sam@ravnborg.org>
Subject: Re: [PATCH] make KVM selectable again
Date: Sun, 10 Feb 2008 17:08:35 +0530 [thread overview]
Message-ID: <661de9470802100338u293b19c3m6fb70f7471e2799e@mail.gmail.com> (raw)
In-Reply-To: <1202590755.14165.11.camel@nimitz.home.sr71.net>
On Feb 10, 2008 2:29 AM, Dave Hansen <haveblue@us.ibm.com> wrote:
> Current git for me (b1d0e4f535e10775cffde922208b49629169aeaa) doesn't
> let me build KVM. In fact, I don't seem to have *ANY* kvm-related
> symbols in my .config at all.
>
> I've verified that arch/x86/kvm/Kconfig was getting run by putting some
> comments in it. It seems to me like just putting:
>
> config HAVE_KVM
> bool
>
> isn't letting anything come into my .config at all. I'm not sure why we
> do that, and then have:
>
> select HAVE_KVM
>
> in arch/x86/Kconfig.
>
> This patch just defines HAVE_KVM in the x86 Kconfig and is done with it.
> Seems to work for me.
>
> Was there some reason that it was done this way? Was it ever tested?
>
> -- Dave
>
> Signed-off-by: Dave Hansen <haveblue@us.ibm.com>
>
> diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
> index 65a70b7..cbbf35d 100644
> --- a/arch/x86/Kconfig
> +++ b/arch/x86/Kconfig
> @@ -115,7 +115,8 @@ config ARCH_HAS_CPU_RELAX
> config HAVE_SETUP_PER_CPU_AREA
> def_bool X86_64
>
> -select HAVE_KVM
> +config HAVE_KVM
> + def_bool y
>
> config ARCH_HIBERNATION_POSSIBLE
> def_bool y
> diff --git a/arch/x86/kvm/Kconfig b/arch/x86/kvm/Kconfig
> index 41962e7..f2177ec 100644
> --- a/arch/x86/kvm/Kconfig
> +++ b/arch/x86/kvm/Kconfig
> @@ -1,8 +1,6 @@
> #
> # KVM configuration
> #
> -config HAVE_KVM
> - bool
>
> menuconfig VIRTUALIZATION
> bool "Virtualization"
>
Hi, Dave,
I did not see your email, until just now. I've posted a patch at
http://lkml.org/lkml/2008/2/10/26. Avi has acked it
Balbir
prev parent reply other threads:[~2008-02-10 11:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-09 20:59 Dave Hansen
2008-02-09 21:24 ` Ingo Molnar
2008-02-10 10:49 ` Sam Ravnborg
2008-02-10 10:50 ` Sam Ravnborg
2008-02-10 11:38 ` Balbir Singh [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=661de9470802100338u293b19c3m6fb70f7471e2799e@mail.gmail.com \
--to=balbir@linux.vnet.ibm.com \
--cc=avi@argo.co.il \
--cc=haveblue@us.ibm.com \
--cc=kvm-devel@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
--cc=sam@ravnborg.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®