Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp185967pxb; Mon, 8 Feb 2021 19:42:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJx3ytKp/IpZ9LkI4NwOauGZc9e8x5qyhkwRCnCeayt+d05vNE3IQhcFlQh7RmQtb9cC92R/ X-Received: by 2002:a17:906:7754:: with SMTP id o20mr20647093ejn.192.1612842171963; Mon, 08 Feb 2021 19:42:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612842171; cv=none; d=google.com; s=arc-20160816; b=ZxKoQAL/Z9QoSNGnRgapis2Y4+iVksWU8W2ZQNLRj3LkajbXsJ8imTb7W0cZ5+4rbR Q9UTvXgRwhVH60vq+a1lrUPpV6o0GWoU3i31+0oxJWtWriSuOUf0wJ6qIZVl2nyBAATZ nC0SaFwVtlDGhCSrOc5LmxvcclegNQWYDnHWVVGTTMtcSSce6PZB6qz2kwLUVGq0kd8h x99cxkmHYhBzvcxTTYGTuWvu6B+PeNPxDZkQOrnFxxO4tgS67Ny8rCgl8/okFBI+TKT1 kiaDfuW6zWf4LaUfWeNE1QN7ZKHVzbBujrpL3tPIJvFpbOjoYaXhkdnf+gzzP7F95Bc0 OJOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=JRORgz0YSFQe9iXRMxk94+EQKeid0Wnlsj0cWrgcF38=; b=gZuqrGS7U0vV0HdsmfRMoTpqpawM2nAkWq7QudejlCuelT8l2kD3EuMAUEVbRnZOso DnZkaArZzXhtVsTOO8d3lKu6VvYMeRQP1j3PM3+TgGrOpG8DRpwr00Op9iSjIsOxk0/A UZgdiCkExFbviDGazz9UmfDoDvOPGn0VjKjuv7IxLFGmucNg4/Wh0tRW3tJ8dUiJS7Jd qOo6pVOYZaxWTF657dnZEULWB49Aq+5qQCGllMM3TWpV5BUBZ77IgCdIrBrRnZshlOx8 N5B1+ZALiqeH7SyLJLN68d4BO4gzB8FtNcZPwzvO3KvvY13s04UvB9LxpsnypaNQqhlA RQFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=g2F5YmKn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id b11si14693052ejz.622.2021.02.08.19.42.26; Mon, 08 Feb 2021 19:42:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=g2F5YmKn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S229894AbhBIDkk (ORCPT + 99 others); Mon, 8 Feb 2021 22:40:40 -0500 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:20011 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229821AbhBIDcI (ORCPT ); Mon, 8 Feb 2021 22:32:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1612841399; 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=JRORgz0YSFQe9iXRMxk94+EQKeid0Wnlsj0cWrgcF38=; b=g2F5YmKnyR6wkcaDbfkBQeKb/BEQ47E1FjZbkFIVlfYDxJUsA6Nl9i6jQijp1oBFekEm0F d/Vsz07pxmIWj5Kw4uDMFxnPNUKjN95oQR6wlHdiCxZ+NV6WSFuBj6Dsi3V+RyS8jIS28r 5+FTc1yw5mGKkE4do22vPCA5KwQGrHs= 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-338-RmmPPVr_MhiQFaTzDjLydA-1; Mon, 08 Feb 2021 22:29:56 -0500 X-MC-Unique: RmmPPVr_MhiQFaTzDjLydA-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 2D960107ACED; Tue, 9 Feb 2021 03:29:55 +0000 (UTC) Received: from [10.72.13.32] (ovpn-13-32.pek2.redhat.com [10.72.13.32]) by smtp.corp.redhat.com (Postfix) with ESMTP id 84A4663B8C; Tue, 9 Feb 2021 03:29:47 +0000 (UTC) Subject: Re: [PATCH V3 16/19] virtio-pci: introduce modern device module To: "Michael S. Tsirkin" Cc: virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org, shahafs@mellanox.com, lulu@redhat.com, sgarzare@redhat.com, rdunlap@infradead.org References: <20210104065503.199631-1-jasowang@redhat.com> <20210104065503.199631-17-jasowang@redhat.com> <20210205103214-mutt-send-email-mst@kernel.org> <24cb3ebe-1248-3e31-0716-cf498cf1d728@redhat.com> <20210208070253-mutt-send-email-mst@kernel.org> From: Jason Wang Message-ID: Date: Tue, 9 Feb 2021 11:29:46 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20210208070253-mutt-send-email-mst@kernel.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021/2/8 下午8:04, Michael S. Tsirkin wrote: > On Mon, Feb 08, 2021 at 01:42:27PM +0800, Jason Wang wrote: >> On 2021/2/5 下午11:34, Michael S. Tsirkin wrote: >>> On Mon, Jan 04, 2021 at 02:55:00PM +0800, Jason Wang wrote: >>>> Signed-off-by: Jason Wang >>> I don't exactly get why we need to split the modern driver out, >>> and it can confuse people who are used to be seeing virtio-pci. >> >> The virtio-pci module still there. No user visible changes. Just some codes >> that could be shared with other driver were split out. >> > What I am saying is this: we can have virtio-vdpa depend on > virtio-pci without splitting the common code out to an > extra module. Ok. > >>> The vdpa thing so far looks like a development tool, why do >>> we care that it depends on a bit of extra code? >> >> If I'm not misunderstanding, trying to share codes is proposed by you here: >> >> https://lkml.org/lkml/2020/6/10/232 >> >> We also had the plan to convert IFCVF to use this library. >> >> Thanks > If that happens then an extra module might become useful. So does it make sense that I post a new version and let's merge it first. Then Intel or I can convert IFCVF to use the library? Thanks >