From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AACBFC54EBC for ; Tue, 10 Jan 2023 15:28:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238540AbjAJP2N (ORCPT ); Tue, 10 Jan 2023 10:28:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239021AbjAJP1o (ORCPT ); Tue, 10 Jan 2023 10:27:44 -0500 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 230188E99D; Tue, 10 Jan 2023 07:27:26 -0800 (PST) Received: by verein.lst.de (Postfix, from userid 2407) id EB9D268AFE; Tue, 10 Jan 2023 16:27:22 +0100 (CET) Date: Tue, 10 Jan 2023 16:27:22 +0100 From: Christoph Hellwig To: Anthony Krowiak Cc: Christoph Hellwig , Alex Williamson , Kirti Wankhede , Halil Pasic , Jason Herne , Zhenyu Wang , Zhi Wang , kvm@vger.kernel.org, linux-s390@vger.kernel.org, intel-gfx@lists.freedesktop.org Subject: Re: [PATCH 1/4] vfio-mdev: allow building the samples into the kernel Message-ID: <20230110152722.GB9485@lst.de> References: <20230110091009.474427-1-hch@lst.de> <20230110091009.474427-2-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On Tue, Jan 10, 2023 at 09:54:51AM -0500, Anthony Krowiak wrote: >> + tristate "Build VFIO mtty example mediated device sample code" >> + depends on VFIO_MDEV > > > Admittedly, I'm not very fluent with Kconfig, but in patch 2 you stated, > "VFIO_MDEV is just a library with helpers for the drivers. Stop making it a > user choice and just select it by the drivers that use the helpers". Why > are you not selecting it here? Because this changes one thing at a time. Patch 2 then switches this depends to a select.