Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp574730ybb; Wed, 1 Apr 2020 05:52:38 -0700 (PDT) X-Google-Smtp-Source: APiQypKQziFRucEqjA9y1BiR5ktK80a1ZmPoVxODOn0rRbD4a0KyVWuwK20/xj87tu3JdXV7K+1E X-Received: by 2002:aca:d9c1:: with SMTP id q184mr2521658oig.6.1585745558468; Wed, 01 Apr 2020 05:52:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585745558; cv=none; d=google.com; s=arc-20160816; b=GxPIQT/VzsTW3t4KcN4IOipJY2Iq+J2NQn8hc11S53JdmfAbE+z9etvdttvpDEtHHK Iijk1OEMHkj+0e3TpvbDtDkcxczfft+0RBIlK3yNHYPnHElg5a0tAxQmpozKCo3rIuoU nNDfVYEdca/fu3aKZtRCDVWLjZZV9+ymGkrDyl9PtOss/TO5DGyCp/uIgbb+qyvBXGU8 PigwJwg/R2XQnM98LIo2UuDlK18YxhfOLMhqL5qtQlJB29KK9EuxAUjavo1WcDmIYIms 7UyTCtI8ngV+embMzqbd7yeeu/X0bJBt16KjIi+ggalu2a3RL0+vufdi9V4LiY6JY1T2 WpdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=KZrEIeJJf1z/466R4PTGZhsuBRjfB99OXepaDxzJjTA=; b=gE5xNTPpdi46W/PVXV4sisr5N3CzRvH5cKs0IKsAzhKKzcJEZqpTU3LhRsHGueVSX0 YOXsjdsUvm2zareYdd+wbt/NduNp0hEjx7OTeEy+EUCpvQjiEVGNrYP0+CR0amwHHMHE 1KGv5HbptfODF1UV7tVexIx7N/F2MZAmIELVfqZSFDEu3KoFtKOvFWD7Gunnxc3oIaJr sRoF4YWqcBKVARVVxQrDe7OCH9jPcqJino4mpq7gmk2LFDbWuaUoqw6AMxByRswQ5Rim 59D2380YIeV4Jnkae1TO47Og4aqOo4rkN7ORtnnRNG46/74iUHhIU71e74BoKwTMGVJ0 KKpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=QGfhPHu0; 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=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x2si869894otj.19.2020.04.01.05.52.24; Wed, 01 Apr 2020 05:52:38 -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=@redhat.com header.s=mimecast20190719 header.b=QGfhPHu0; 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=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732505AbgDAMvH (ORCPT + 99 others); Wed, 1 Apr 2020 08:51:07 -0400 Received: from us-smtp-1.mimecast.com ([207.211.31.81]:53735 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732252AbgDAMvG (ORCPT ); Wed, 1 Apr 2020 08:51:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1585745465; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KZrEIeJJf1z/466R4PTGZhsuBRjfB99OXepaDxzJjTA=; b=QGfhPHu0qbTRlC5zF+G2AnEC3HUuHihNcAiQKacmcqvmBCTXCbvA1WqbfD+rJA8g72p40X PgNMKssEpc6uxf0Mj2l2V70JnFOvmi3N/bi2pmJqGmW1PH0nASvNwuC3gz82wv33rPlmkk u8OSuUFXeP3E4HSKz2msEVV8OsHBCYA= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-3-2txM6OSVP8OwClyVv-NhKQ-1; Wed, 01 Apr 2020 08:50:58 -0400 X-MC-Unique: 2txM6OSVP8OwClyVv-NhKQ-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 8B6AE477; Wed, 1 Apr 2020 12:50:55 +0000 (UTC) Received: from [10.72.12.139] (ovpn-12-139.pek2.redhat.com [10.72.12.139]) by smtp.corp.redhat.com (Postfix) with ESMTP id 46B9A18A85; Wed, 1 Apr 2020 12:50:37 +0000 (UTC) Subject: Re: [PATCH V9 1/9] vhost: refine vhost and vringh kconfig To: Christian Borntraeger , mst@redhat.com, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, virtualization@lists.linux-foundation.org, netdev@vger.kernel.org Cc: jgg@mellanox.com, maxime.coquelin@redhat.com, cunming.liang@intel.com, zhihong.wang@intel.com, rob.miller@broadcom.com, xiao.w.wang@intel.com, lingshan.zhu@intel.com, eperezma@redhat.com, lulu@redhat.com, parav@mellanox.com, kevin.tian@intel.com, stefanha@redhat.com, rdunlap@infradead.org, hch@infradead.org, aadam@redhat.com, jiri@mellanox.com, shahafs@mellanox.com, hanand@xilinx.com, mhabets@solarflare.com, gdawar@xilinx.com, saugatm@xilinx.com, vmireyno@marvell.com, zhangweining@ruijie.com.cn References: <20200326140125.19794-1-jasowang@redhat.com> <20200326140125.19794-2-jasowang@redhat.com> From: Jason Wang Message-ID: <41ee1f6a-3124-d44b-bf34-0f26604f9514@redhat.com> Date: Wed, 1 Apr 2020 20:50:36 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020/4/1 =E4=B8=8B=E5=8D=887:21, Christian Borntraeger wrote: > On 26.03.20 15:01, Jason Wang wrote: >> Currently, CONFIG_VHOST depends on CONFIG_VIRTUALIZATION. But vhost is >> not necessarily for VM since it's a generic userspace and kernel >> communication protocol. Such dependency may prevent archs without >> virtualization support from using vhost. >> >> To solve this, a dedicated vhost menu is created under drivers so >> CONIFG_VHOST can be decoupled out of CONFIG_VIRTUALIZATION. > FWIW, this now results in vhost not being build with defconfig kernels = (in todays > linux-next). > Hi Christian: Did you meet it even with this=20 commit=C2=A0https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-ne= xt.git/commit/?id=3Da4be40cbcedba9b5b714f3c95182e8a45176e42d? If yes, what's your build config looks like? Thanks