Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932466AbdIFOLb (ORCPT ); Wed, 6 Sep 2017 10:11:31 -0400 Received: from mail-bl2nam02on0040.outbound.protection.outlook.com ([104.47.38.40]:2208 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932286AbdIFOL1 (ORCPT ); Wed, 6 Sep 2017 10:11:27 -0400 From: "Jorgen S. Hansen" To: Stefan Hajnoczi 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 Thread-Topic: [PATCH] vsock: only load vmci transport on VMware hypervisor by default Thread-Index: AdMXLqHUpz8ZGmCVQCq3Yks74VajMAAMewiAAALTwAAAF9gwEAAbKDYAAA5QEwAAruLPgAAGuDGAAB9bwtABKpD2cAAbWzSAAFzS4oABMoNugA== Date: Wed, 6 Sep 2017 14:11:22 +0000 Message-ID: <8E47FDFD-809F-4EE9-9068-65BE50BE8BEB@vmware.com> 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> <20170831115455.GP13619@stefanha-x1.localdomain> In-Reply-To: <20170831115455.GP13619@stefanha-x1.localdomain> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [80.197.119.203] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;CY1PR05MB2332;20:pCuma2cyKHzd8mAicsdTyl+veTaMc3XBu0jQ1Tei92vfCZRksVTl6eutwdJdXhOTGUkxM5VfUG1ThSvs4+AQVSlWfODHNuyA9S+LnM5aasahSMi5bBAmvCasyBcvvWBMC5n+7HuDpAae1JhRe7r30NITxX2EvGPQfeBy+Z1MmKw= x-ms-office365-filtering-correlation-id: 30fab01c-964b-498e-7b79-08d4f531270b x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(300000503095)(300135400095)(2017052603199)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:CY1PR05MB2332; x-ms-traffictypediagnostic: CY1PR05MB2332: x-exchange-antispam-report-test: UriScan:(89211679590171); x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(5005006)(8121501046)(100000703101)(100105400095)(93006095)(93001095)(10201501046)(3002001)(6041248)(20161123560025)(20161123564025)(20161123562025)(20161123555025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:CY1PR05MB2332;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:CY1PR05MB2332; x-forefront-prvs: 0422860ED4 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(6009001)(199003)(24454002)(189002)(377454003)(99286003)(2900100001)(2950100002)(36756003)(68736007)(561944003)(86362001)(6436002)(2906002)(189998001)(102836003)(3280700002)(6116002)(3846002)(6916009)(229853002)(53936002)(6506006)(305945005)(54906002)(8666007)(77096006)(53546010)(6512007)(3660700001)(110136004)(478600001)(6486002)(5660300001)(14454004)(106356001)(93886005)(105586002)(6246003)(82746002)(83716003)(81156014)(101416001)(7416002)(4326008)(81166006)(8676002)(7736002)(50986999)(76176999)(33656002)(25786009)(54356999)(97736004)(8936002)(66066001);DIR:OUT;SFP:1101;SCL:1;SRVR:CY1PR05MB2332;H:CY1PR05MB2217.namprd05.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; authentication-results: spf=none (sender IP is ) smtp.mailfrom=jhansen@vmware.com; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <0EF60686FBB6514CAB30720E2D1C6B22@namprd05.prod.outlook.com> MIME-Version: 1.0 X-OriginatorOrg: vmware.com X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Sep 2017 14:11:22.2099 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b39138ca-3cee-4b4a-a4d6-cd83d9dd62f0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR05MB2332 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by nfs id v86EBaHh003761 Content-Length: 1381 Lines: 38 > On Aug 31, 2017, at 1:54 PM, Stefan Hajnoczi wrote: > > 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. > Yes, that was my thinking as well. > 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. > I’ll try to find time to write a more coherent proposal in the coming weeks, and we can discuss that. > 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? No, I won’t be there. Thanks, Jorgen