From: Avi Kivity <avi@redhat.com>
To: Sanjay Lal <sanjayl@kymasys.com>
Cc: kvm@vger.kernel.org, linux-mips@linux-mips.org
Subject: Re: [PATCH 01/20] KVM/MIPS32: Infrastructure/build files.
Date: Thu, 01 Nov 2012 16:54:38 +0200 [thread overview]
Message-ID: <50928D2E.9090409@redhat.com> (raw)
In-Reply-To: <6A87701A-F946-489D-AFC3-3BC8B7723CE0@kymasys.com>
On 10/31/2012 05:17 PM, Sanjay Lal wrote:
> - Add the KVM option to MIPS build files.
> - Add default config files for KVM host/guest kernels.
> - Change the link address for the Malta KVM Guest kernel to UM (0x40100000).
> - Add KVM Kconfig file with KVM/MIPS specific options
>
> index dba9390..8ac1aa1 100644
> --- a/arch/mips/Kconfig
> +++ b/arch/mips/Kconfig
> @@ -1284,6 +1284,8 @@ config CPU_MIPS32_R2
> select CPU_HAS_PREFETCH
> select CPU_SUPPORTS_32BIT_KERNEL
> select CPU_SUPPORTS_HIGHMEM
> + select HAVE_KVM
> +
> help
> Choose this option to build a kernel for release 2 or later of the
> MIPS32 architecture. Most modern embedded systems with a 32-bit
> @@ -1789,6 +1791,21 @@ config 64BIT
>
> endchoice
>
> +config KVM_GUEST
> + bool "KVM Guest Kernel"
> + depends on HAVE_KVM
> + help
> + Select this option if building a guest kernel for KVM (Trap & Emulate) mode
HAVE_KVM indicates that the host has virtualization support for KVM. It
says nothing about the guest. So KVM_GUEST need not depend on HAVE_KVM.
> +
> +config KVM_HOST_FREQ
> + int "KVM Host Processor Frequency (MHz)"
> + depends on HAVE_KVM
> + default 500
> + help
> + Select this option if building a guest kernel for KVM to skip
> + RTC emulation when determining guest CPU Frequency. Instead, the guest
> + processor frequency is automatically derived from the host frequency.
> +
And this should depend on KVM_GUEST (or be avoided completely, why not
use it always?)
--
error compiling committee.c: too many arguments to function
next prev parent reply other threads:[~2012-11-01 14:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-31 15:17 [PATCH 01/20] KVM/MIPS32: Infrastructure/build files Sanjay Lal
2012-11-01 14:54 ` Avi Kivity [this message]
2012-11-10 21:28 ` Ralf Baechle
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=50928D2E.9090409@redhat.com \
--to=avi@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=linux-mips@linux-mips.org \
--cc=sanjayl@kymasys.com \
/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