[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210608152656.5aa4cfa3.alex.williamson@redhat.com>
Date: Tue, 8 Jun 2021 15:26:56 -0600
From: Alex Williamson <alex.williamson@...hat.com>
To: Max Gurtovoy <mgurtovoy@...dia.com>
Cc: <cohuck@...hat.com>, <kvm@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <jgg@...dia.com>,
<aviadye@...dia.com>, <oren@...dia.com>, <shahafs@...dia.com>,
<parav@...dia.com>, <artemp@...dia.com>, <kwankhede@...dia.com>,
<ACurrid@...dia.com>, <cjia@...dia.com>, <yishaih@...dia.com>,
<kevin.tian@...el.com>, <hch@...radead.org>, <targupta@...dia.com>,
<shameerali.kolothum.thodi@...wei.com>, <liulongfang@...wei.com>,
<yan.y.zhao@...el.com>
Subject: Re: [PATCH 10/11] vfio-pci: introduce vfio_pci_core subsystem
driver
On Thu, 3 Jun 2021 19:08:08 +0300
Max Gurtovoy <mgurtovoy@...dia.com> wrote:
> diff --git a/drivers/vfio/pci/Kconfig b/drivers/vfio/pci/Kconfig
> index 5e2e1b9a9fd3..384d06661f30 100644
> --- a/drivers/vfio/pci/Kconfig
> +++ b/drivers/vfio/pci/Kconfig
> @@ -1,6 +1,6 @@
> # SPDX-License-Identifier: GPL-2.0-only
> -config VFIO_PCI
> - tristate "VFIO support for PCI devices"
> +config VFIO_PCI_CORE
> + tristate "VFIO core support for PCI devices"
> depends on VFIO && PCI && EVENTFD
> depends on MMU
> select VFIO_VIRQFD
> @@ -11,9 +11,17 @@ config VFIO_PCI
>
> If you don't know what to do here, say N.
>
> +config VFIO_PCI
> + tristate "VFIO support for PCI devices"
> + depends on VFIO_PCI_CORE
> + help
> + This provides a generic PCI support using the VFIO framework.
> +
> + If you don't know what to do here, say N.
> +
I think it's going to generate a lot of user and distro frustration to
hide VFIO_PCI behind a new VFIO_PCI_CORE option. The core should be a
dependency *selected* by the drivers, not a prerequisite for the
driver. Thanks,
Alex
Powered by blists - more mailing lists