All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: Ram Muthiah <rammuthiah@google.com>
Cc: kernel-team@android.com, linux-kernel@vger.kernel.org,
	virtualization@lists.linux-foundation.org
Subject: Re: [PATCH RESEND] virtio: virtio_pci_legacy: Remove default y from Kconfig
Date: Sun, 1 Mar 2020 02:32:30 -0500	[thread overview]
Message-ID: <20200301023025-mutt-send-email-mst@kernel.org> (raw)
In-Reply-To: <20200228232736.182780-1-rammuthiah@google.com>

On Fri, Feb 28, 2020 at 03:27:36PM -0800, Ram Muthiah wrote:
> The legacy pci driver should no longer be default enabled. QEMU has
> implemented support for Virtio 1 for virtio-pci since June 2015
> on SHA dfb8e184db75.
> 
> Signed-off-by: Ram Muthiah <rammuthiah@google.com>

I see little reason to do this: y is safer and will boot on more
hypervisors, so people that aren't sure should enable it.

> ---
>  drivers/virtio/Kconfig | 6 ------
>  1 file changed, 6 deletions(-)
> 
> diff --git a/drivers/virtio/Kconfig b/drivers/virtio/Kconfig
> index 078615cf2afc..eacd0b90d32b 100644
> --- a/drivers/virtio/Kconfig
> +++ b/drivers/virtio/Kconfig
> @@ -26,7 +26,6 @@ config VIRTIO_PCI
>  
>  config VIRTIO_PCI_LEGACY
>  	bool "Support for legacy virtio draft 0.9.X and older devices"
> -	default y
>  	depends on VIRTIO_PCI
>  	---help---
>            Virtio PCI Card 0.9.X Draft (circa 2014) and older device support.
> @@ -36,11 +35,6 @@ config VIRTIO_PCI_LEGACY
>  	  If disabled, you get a slightly smaller, non-transitional driver,
>  	  with no legacy compatibility.
>  
> -          So look out into your driveway.  Do you have a flying car?  If
> -          so, you can happily disable this option and virtio will not
> -          break.  Otherwise, leave it set.  Unless you're testing what
> -          life will be like in The Future.
> -
>  	  If unsure, say Y.
>  
>  config VIRTIO_PMEM
> -- 
> 2.25.0.265.gbab2e86ba0-goog

WARNING: multiple messages have this Message-ID (diff)
From: "Michael S. Tsirkin" <mst@redhat.com>
To: Ram Muthiah <rammuthiah@google.com>
Cc: Jason Wang <jasowang@redhat.com>,
	virtualization@lists.linux-foundation.org,
	linux-kernel@vger.kernel.org, kernel-team@android.com
Subject: Re: [PATCH RESEND] virtio: virtio_pci_legacy: Remove default y from Kconfig
Date: Sun, 1 Mar 2020 02:32:30 -0500	[thread overview]
Message-ID: <20200301023025-mutt-send-email-mst@kernel.org> (raw)
In-Reply-To: <20200228232736.182780-1-rammuthiah@google.com>

On Fri, Feb 28, 2020 at 03:27:36PM -0800, Ram Muthiah wrote:
> The legacy pci driver should no longer be default enabled. QEMU has
> implemented support for Virtio 1 for virtio-pci since June 2015
> on SHA dfb8e184db75.
> 
> Signed-off-by: Ram Muthiah <rammuthiah@google.com>

I see little reason to do this: y is safer and will boot on more
hypervisors, so people that aren't sure should enable it.

> ---
>  drivers/virtio/Kconfig | 6 ------
>  1 file changed, 6 deletions(-)
> 
> diff --git a/drivers/virtio/Kconfig b/drivers/virtio/Kconfig
> index 078615cf2afc..eacd0b90d32b 100644
> --- a/drivers/virtio/Kconfig
> +++ b/drivers/virtio/Kconfig
> @@ -26,7 +26,6 @@ config VIRTIO_PCI
>  
>  config VIRTIO_PCI_LEGACY
>  	bool "Support for legacy virtio draft 0.9.X and older devices"
> -	default y
>  	depends on VIRTIO_PCI
>  	---help---
>            Virtio PCI Card 0.9.X Draft (circa 2014) and older device support.
> @@ -36,11 +35,6 @@ config VIRTIO_PCI_LEGACY
>  	  If disabled, you get a slightly smaller, non-transitional driver,
>  	  with no legacy compatibility.
>  
> -          So look out into your driveway.  Do you have a flying car?  If
> -          so, you can happily disable this option and virtio will not
> -          break.  Otherwise, leave it set.  Unless you're testing what
> -          life will be like in The Future.
> -
>  	  If unsure, say Y.
>  
>  config VIRTIO_PMEM
> -- 
> 2.25.0.265.gbab2e86ba0-goog


  reply	other threads:[~2020-03-01  7:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-28 23:27 [PATCH RESEND] virtio: virtio_pci_legacy: Remove default y from Kconfig Ram Muthiah
2020-03-01  7:32 ` Michael S. Tsirkin [this message]
2020-03-01  7:32   ` Michael S. Tsirkin
2020-03-11 22:44   ` Ram Muthiah
2020-03-11 23:02     ` Michael S. Tsirkin

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=20200301023025-mutt-send-email-mst@kernel.org \
    --to=mst@redhat.com \
    --cc=kernel-team@android.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rammuthiah@google.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.