From: Stephen Hemminger <stephen@networkplumber.org>
To: Vincent Legoll <vincent.legoll@gmail.com>
Cc: kys@microsoft.com, haiyangz@microsoft.com,
sthemmin@microsoft.com, devel@linuxdriverproject.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] hyperv: make HYPERV a menuconfig to ease disabling it all
Date: Sat, 9 Dec 2017 21:50:22 -0800 [thread overview]
Message-ID: <20171209215022.6795dd91@xeon-e3> (raw)
In-Reply-To: <20171209152151.4341-1-vincent.legoll@gmail.com>
On Sat, 9 Dec 2017 16:21:51 +0100
Vincent Legoll <vincent.legoll@gmail.com> wrote:
> No need to get into the submenu to disable all HYPERV-related
> config entries.
>
> This makes it easier to disable all HYPERV config options
> without entering the submenu. It will also enable one
> to see that en/dis-abled state from the outside menu.
>
> This is only intended to change menuconfig UI, not change
> the config dependencies.
>
> Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
> ---
> drivers/hv/Kconfig | 7 +++++--
> 1 file changed, 5 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/hv/Kconfig b/drivers/hv/Kconfig
> index 50b89ea0e60f..5804081d936d 100644
> --- a/drivers/hv/Kconfig
> +++ b/drivers/hv/Kconfig
> @@ -1,4 +1,7 @@
> -menu "Microsoft Hyper-V guest support"
> +menuconfig HYPERV_MENU
> + bool "Microsoft Hyper-V guest support"
> +
> +if HYPERV_MENU
>
> config HYPERV
> tristate "Microsoft Hyper-V client drivers"
> @@ -23,4 +26,4 @@ config HYPERV_BALLOON
> help
> Select this option to enable Hyper-V Balloon driver.
>
> -endmenu
> +endif # HYPERV_MENU
Will this break existing configs?
next prev parent reply other threads:[~2017-12-10 5:50 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-09 15:21 [PATCH] hyperv: make HYPERV a menuconfig to ease disabling it all Vincent Legoll
2017-12-10 5:50 ` Stephen Hemminger [this message]
2017-12-13 8:54 ` Vincent Legoll
2017-12-13 21:23 ` Stephen Hemminger
2017-12-14 7:51 ` Greg KH
2017-12-14 17:43 ` Randy Dunlap
2017-12-16 10:07 ` [PATCH,v2] hyperv: make HYPERV a menuconfig to ease disabling it al Vincent Legoll
2017-12-16 10:07 ` [PATCH] hyperv: make HYPERV a menuconfig to ease disabling it all Vincent Legoll
2017-12-16 17:51 ` Stephen Hemminger
2017-12-17 14:02 ` Vincent Legoll
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=20171209215022.6795dd91@xeon-e3 \
--to=stephen@networkplumber.org \
--cc=devel@linuxdriverproject.org \
--cc=haiyangz@microsoft.com \
--cc=kys@microsoft.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sthemmin@microsoft.com \
--cc=vincent.legoll@gmail.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