Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751768AbdHaLzg (ORCPT ); Thu, 31 Aug 2017 07:55:36 -0400 Received: from mx1.redhat.com ([209.132.183.28]:7347 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751735AbdHaLze (ORCPT ); Thu, 31 Aug 2017 07:55:34 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 891C87F755 Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=stefanha@redhat.com Date: Thu, 31 Aug 2017 12:54:55 +0100 From: Stefan Hajnoczi To: "Jorgen S. Hansen" Cc: Dexuan Cui , "davem@davemloft.net" , "netdev@vger.kernel.org" , "gregkh@linuxfoundation.org" , "devel@linuxdriverproject.org" , KY Srinivasan , Haiyang Zhang , Stephen Hemminger , George Zhang , Michal Kubecek , Asias He , Vitaly Kuznetsov , Cathy Avery , "jasowang@redhat.com" , Rolf Neugebauer , Dave Scott , Marcelo Cerri , "apw@canonical.com" , "olaf@aepfle.de" , "joe@perches.com" , "linux-kernel@vger.kernel.org" , Dan Carpenter Subject: Re: [PATCH] vsock: only load vmci transport on VMware hypervisor by default Message-ID: <20170831115455.GP13619@stefanha-x1.localdomain> References: <20170817135559.GG5539@stefanha-x1.localdomain> <04460E3B-B213-4090-96CD-00CEEBE6AC32@vmware.com> <20170818153716.GB17572@stefanha-x1.localdomain> <20170822095437.GB16799@stefanha-x1.localdomain> <61AE41B3-D143-46D2-8C68-009B78AF12C8@vmware.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <61AE41B3-D143-46D2-8C68-009B78AF12C8@vmware.com> User-Agent: Mutt/1.8.3 (2017-05-23) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Thu, 31 Aug 2017 11:55:34 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1084 Lines: 24 On Tue, Aug 29, 2017 at 03:37:07PM +0000, Jorgen S. Hansen wrote: > > On Aug 29, 2017, at 4:36 AM, Dexuan Cui wrote: > If we allow multiple host side transports, virtio host side support and > vmci should be able to coexist regardless of the order of initialization. That sounds good to me. This means af_vsock.c needs to be aware of CID allocation. Currently the vhost_vsock.ko driver handles this itself (it keeps a list of CIDs and checks that they are not used twice). It should be possible to move that state into af_vsock.c so we have pairs. I'm currently working on NFS over AF_VSOCK and sock_diag support (for ss(8) and netstat-like tools). Multi-transport support is lower priority for me at the moment. I'm happy to review patches though. If there is no progress on this by the end of the year then I will have time to work on it. Are either of you are in Prague, Czech Republic on October 25-27 for Linux Kernel Summit, Open Source Summit Europe, Embedded Linux Conference Europe, KVM Forum, or MesosCon Europe? Stefan