Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1017720ybh; Wed, 11 Mar 2020 15:46:01 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsgYixCFcbtQfZI+J4q3Gj8P3C5iis1ogozcYn2aScKNYj8pY2Y6EUM9oZIq+/XhcEh2LVg X-Received: by 2002:a05:6808:289:: with SMTP id z9mr642662oic.48.1583966760910; Wed, 11 Mar 2020 15:46:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583966760; cv=none; d=google.com; s=arc-20160816; b=KYiatXeG/w72zYnyiHWJN1EmOqY3pIsAJ9aOH/GEt26mVf2hNJZ9w5mdq7IVHo34/R jtbr/O9lbEgQT9sOO1dzedjL5x1gK6fbJLdv8mPqcm6c/Ei11NIDOEscfuN9tw4oqKg0 WX66CkpkzSIL4Wiw2UeXljXJLZsooTeCEWI77I+e0XhBwkldidseFQG7UT6zeJIZ35cF WxcL37gsNpXy/rIEvlUcnbCTrh3tUFH9ViRgjJErtyR0gJpkHBZIbDP+BJD2cGmc4LmL 6ml5OOOLrOq/2KYnp/sIgqptQLY/mGlKoJbz+M+q2Vcj+L0JcLylCi7qlfxjVeb7H+QJ ZETw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=QeeVZpCysBLeBcff3DdO0j5CS9fOGStZhIzASGNoSMk=; b=oEh+hUVZxgg6Ea/Fqi/kR3lGp3iz7x7jc27WNYhVBl19Ey+Cj0O16BEdMHJY//SZHm V3m3zMP5V/CAFV92sIs/dSJKHnRnIeJZXYDMV2DjQJZfoUAt4eV2m4OLy10sjgGHdXbC smThrz8IRboI4FrO5kW2ix9JHgNCvFPMq3vrN6Z5JiyJrNYw4k6fYlxMqbx4qTdBj6C/ B7DuFe/x8YPYXN+syFHN1AbE7kwvpHO49jTxXI7x+79fYFxn3aVAd/0vTWUeSWZ81H+H eqDhm0ZaEG1ZnOtRWeGRXdOE2114cxIUG9mGHurFr/ta6Q2U3ZWPbp6hvdR2xG6TBCQI OxrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b="bj/AQ/Qc"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d10si1743952oti.226.2020.03.11.15.45.49; Wed, 11 Mar 2020 15:46:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b="bj/AQ/Qc"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387459AbgCKWoo (ORCPT + 99 others); Wed, 11 Mar 2020 18:44:44 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:34988 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387411AbgCKWon (ORCPT ); Wed, 11 Mar 2020 18:44:43 -0400 Received: by mail-wr1-f68.google.com with SMTP id d5so4525052wrc.2 for ; Wed, 11 Mar 2020 15:44:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=QeeVZpCysBLeBcff3DdO0j5CS9fOGStZhIzASGNoSMk=; b=bj/AQ/QcbhLyB8amYbmO2G+4QoHnBpQ+wv/2gXDJiJN1o2Z6z41VLd+S1msCev3kE/ jxF7gneBkOD8j1NF4mRy/v66QrDfXtozOJ6giil05/t1oLEkNOIBnTQzC/XJ4MN3PNVO Uc2D9YTr0VROIIapZKBVvBwx/+eExIWAPjYfo1T8hSmYdJktupEmFPSPGoUp/lctf+zd 4OgqE4sQL48w8ayxdK1MTnkbPZhCPzDvNTfMS7OOUyApAea3Djl36m+J6NkWLrt18eSF yWNFepulKsPsueVWoU5M8tFOfAj0hgjFglfjCJqIfKxzo7dUux65U5wFMdDxNjm0ciSA AmaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=QeeVZpCysBLeBcff3DdO0j5CS9fOGStZhIzASGNoSMk=; b=A5khJonFHQyEBAcx15zu4v1Q44iIBtnrMYWMWp3U/nch3KF9MoHCp1iJsNV4GMFRKH 5n3wzSTvYojQ+gdG3TNKTFyfvsvfalOsBQfwo/HzIu6pibnjwI71IWZHZzDQDt5RDKd7 /dNTZvXE6pmT3IzkrEdQydW64JQ2gCjKoRnOCXP0OWv9uf3hxr6HL08svd+DbEIBnRbG uOsSLPBlX5bS59CMMrko6OY0WQE2GF+chiVJK2DQO5AGUiPlWLMcJAJiRUUqh3Si+woh jdzsbUMgUXJZVOilKgvVQG2aNxgpVxhuz1dsiZ+zH/chPTPilTvl+riT5WVhV97QhISU EunQ== X-Gm-Message-State: ANhLgQ2u6JGqRFJCrkNHBaMxdzqdLUXptvZOz9lgr28PyudjDHoJLba4 WaC17/tVNSjTq5DMDaM5Sz4o+r4S5myruoM+76q8VQ== X-Received: by 2002:a5d:628c:: with SMTP id k12mr6779929wru.237.1583966681000; Wed, 11 Mar 2020 15:44:41 -0700 (PDT) MIME-Version: 1.0 References: <20200228232736.182780-1-rammuthiah@google.com> <20200301023025-mutt-send-email-mst@kernel.org> In-Reply-To: <20200301023025-mutt-send-email-mst@kernel.org> From: Ram Muthiah Date: Wed, 11 Mar 2020 15:44:14 -0700 Message-ID: Subject: Re: [PATCH RESEND] virtio: virtio_pci_legacy: Remove default y from Kconfig To: "Michael S. Tsirkin" Cc: Jason Wang , virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org, kernel-team@android.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Feb 29, 2020 at 11:32 PM Michael S. Tsirkin wrote: > > 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 > > 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. > In that case, would it be reasonable to fold VIRTIO_PCI_LEGACY into VIRTIO_PCI? The result would boot more hypervisors as well and remove the CONFIG in the process. > > --- > > 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 >