From: Michael Ellerman <mpe@ellerman.id.au>
To: Vincent Legoll <vincent.legoll@gmail.com>,
mst@redhat.com, jasowang@redhat.com,
virtualization@lists.linux-foundation.org,
linux-kernel@vger.kernel.org
Cc: Vincent Legoll <vincent.legoll@gmail.com>
Subject: Re: [PATCH] virtio: make VIRTIO a menuconfig to ease disabling it all
Date: Thu, 21 Dec 2017 21:53:44 +1100 [thread overview]
Message-ID: <87tvwkfj2f.fsf@concordia.ellerman.id.au> (raw)
In-Reply-To: <20171209152657.4762-1-vincent.legoll@gmail.com>
Vincent Legoll <vincent.legoll@gmail.com> writes:
> No need to get into the submenu to disable all VIRTIO-related
> config entries.
>
> This makes it easier to disable all VIRTIO 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/virtio/Kconfig | 7 +++++--
> 1 file changed, 5 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/virtio/Kconfig b/drivers/virtio/Kconfig
> index cff773f15b7e..d485a63a8233 100644
> --- a/drivers/virtio/Kconfig
> +++ b/drivers/virtio/Kconfig
> @@ -5,7 +5,10 @@ config VIRTIO
> bus, such as CONFIG_VIRTIO_PCI, CONFIG_VIRTIO_MMIO, CONFIG_RPMSG
> or CONFIG_S390_GUEST.
>
> -menu "Virtio drivers"
> +menuconfig VIRTIO_MENU
> + bool "Virtio drivers"
> +
> +if VIRTIO_MENU
This breaks all existing .configs *and* defconfigs that use VIRTIO.
Please don't do that.
If you make it default y then everything will continue to work.
cheers
diff --git a/drivers/virtio/Kconfig b/drivers/virtio/Kconfig
index d485a63a8233..35897649c24f 100644
--- a/drivers/virtio/Kconfig
+++ b/drivers/virtio/Kconfig
@@ -7,6 +7,7 @@ config VIRTIO
menuconfig VIRTIO_MENU
bool "Virtio drivers"
+ default y
if VIRTIO_MENU
next prev parent reply other threads:[~2017-12-21 10:53 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-09 15:26 Vincent Legoll
2017-12-21 6:44 ` Andrei Vagin
2017-12-21 10:53 ` Michael Ellerman [this message]
2017-12-21 16:23 ` [PATCH] " Vincent Legoll
2017-12-22 2:12 ` Michael Ellerman
2018-01-02 22:40 ` Michael Ellerman
2018-01-03 9:49 ` [PATCH, v2] virtio: make VIRTIO a menuconfig to ease disabling it Vincent Legoll
2018-01-03 9:49 ` [PATCH] [PATCH] virtio: make VIRTIO a menuconfig to ease disabling it all Vincent Legoll
2018-01-07 3:25 ` Randy Dunlap
2018-01-07 11:33 ` Vincent Legoll
2018-01-23 4:31 ` Ping " Michael Ellerman
2018-01-23 8:08 ` Vincent Legoll
2018-01-28 10:14 ` Michael Ellerman
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=87tvwkfj2f.fsf@concordia.ellerman.id.au \
--to=mpe@ellerman.id.au \
--cc=jasowang@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mst@redhat.com \
--cc=vincent.legoll@gmail.com \
--cc=virtualization@lists.linux-foundation.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®