[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e898aa1b-84e8-9898-c834-48c599be7ffd@infradead.org>
Date: Wed, 2 Dec 2020 13:58:52 -0800
From: Randy Dunlap <rdunlap@...radead.org>
To: "Enrico Weigelt, metux IT consult" <info@...ux.net>,
linux-kernel@...r.kernel.org
Cc: tglx@...utronix.de, mingo@...hat.com, bp@...en8.de, x86@...nel.org,
hpa@...or.com, dmitry.torokhov@...il.com, derek.kiernan@...inx.com,
dragan.cvetic@...inx.com, richardcochran@...il.com,
linux-hyperv@...r.kernel.org, linux-input@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: [PATCH v2 2/2] x86: make Hyper-V support optional
On 12/2/20 1:19 PM, Enrico Weigelt, metux IT consult wrote:
> Make it possible to opt-out from Hyper-V support, for minimized kernels
> that never will by run under Hyper-V. (eg. high-density virtualization
> or embedded systems)
>
> Average distro kernel will leave it on, therefore default to y.
>
> Signed-off-by: Enrico Weigelt <info@...ux.net>
> ---
> arch/x86/Kconfig | 11 +++++++++++
> arch/x86/kernel/cpu/Makefile | 4 ++--
> arch/x86/kernel/cpu/hypervisor.c | 2 ++
> drivers/hv/Kconfig | 2 +-
> 4 files changed, 16 insertions(+), 3 deletions(-)
>
> diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
> index eff12460cb3c..57d20591d6ee 100644
> --- a/arch/x86/Kconfig
> +++ b/arch/x86/Kconfig
> @@ -812,6 +812,17 @@ config VMWARE_GUEST
> density virtualization or embedded systems running (para)virtualized
> workloads.
>
> +config HYPERV_GUEST
> + bool "Hyper-V Guest support"
> + default y
> + help
> + This option enables several optimizations for running under the
> + Hyper-V hypervisor.
> +
> + Disabling it saves a few kb, for stripped down kernels eg. in high
kB, e.g.
> + density virtualization or embedded systems running (para)virtualized
> + workloads.
> +
> config KVM_GUEST
> bool "KVM Guest support (including kvmclock)"
> depends on PARAVIRT
--
~Randy
Powered by blists - more mailing lists