Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752603AbdIBGZy (ORCPT ); Sat, 2 Sep 2017 02:25:54 -0400 Received: from mail-sg2apc01on0102.outbound.protection.outlook.com ([104.47.125.102]:48867 "EHLO APC01-SG2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751418AbdIBGZw (ORCPT ); Sat, 2 Sep 2017 02:25:52 -0400 From: Dexuan Cui To: Stefan Hajnoczi , "Jorgen S. Hansen" CC: "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: AdMXLqHUpz8ZGmCVQCq3Yks74VajMAAMewiAAALTwAAAF9gwEAAbKDYAAA5QEwAAruLPgAAGuDGAAB9bwtABKpD2cAB4NSUnAFiSh7A= Date: Sat, 2 Sep 2017 06:25:29 +0000 Message-ID: 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: msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=True; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Ref=https://api.informationprotection.azure.com/api/72f988bf-86f1-41af-91ab-2d7cd011db47; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Owner=decui@microsoft.com; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2017-09-01T23:25:28.1849326-07:00; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=General; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Application=Microsoft Azure Information Protection; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Extended_MSFT_Method=Automatic; Sensitivity=General authentication-results: spf=none (sender IP is ) smtp.mailfrom=decui@microsoft.com; x-originating-ip: [73.140.236.124] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;KL1P15301MB0021;6:hnZtb/6k7l+hm/Or4xiCI3FRHj5oAZH5NbqIV7eVXd59kPFPmW7lKTKntLCyIwQM5lvke503Q2JQkHTpCzXpvigF3EMeakOY6eEOph7mIZxkvwuRhGck4lRpwQsPxEL8c9el88idc0HleaNGkYgxoBedYebkCbx59Q2e5lFnRLf6Lg6Ta9IkYs5p3HJHi6vtai+MnzgDhOMm0hLvbswfmQPFU/aR/0KpYhEGbQfaMqCJs2dq+vPWSCHjAGgTWnXmE7e3unPnW1hqHb+GLhQK9YRVQbnozypeAoi+vgwQDTQ773NFcJHRwbpczSbMBbPWM5aVhiFTCGl/CcNyL+na2w==;5:DS+nP7Nel9i1jgJS40KzuHV5+9XPjAGbJLTq/4KwNjaa+yse82cQ9q/nt1h47f1mxDyCaKBqReUOvZKTfcTXMxmgLv+lOFBf261gxjUyfbm2V852kZMjNEzgzn+koZBLcsghC0epdWL0Syrg2ye8Cg==;24:kp8aTkoaYJCfBQxKevSb8YT3k8XSYf7vAxlwvVuQE9nfqMyk4fPcOtpdHnWrvsCwQRlUzTkOSRcvRZHkiivC0siCkf8w7/sT8fG+dY7pFvQ=;7:45vY0F6XpFRNPz6DqEn37IpSUhSpqiVzBg7shQ9qzXDsW/trh6U5KTwC7xxrR+Fq4slVvJyv6mH1Iz+omS1xr9epdO/P4eH0WQlNdigu4kQi3uptaoInw+AaXtbFtGLvJOTWclo9riCGNcgE6Goetkhx9Ma0E3wjUhwphydlLQ+C+3XeQem1JUYP5TDljN9HaYWOM9AReEFKgeL23FavZRHYBQ2MOkHeG2PE0JCDENA= x-ms-office365-filtering-correlation-id: 3d77226a-5e2d-423e-f9a9-08d4f1cb68ce x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(48565401081)(300000503095)(300135400095)(2017052603199)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:KL1P15301MB0021; x-ms-traffictypediagnostic: KL1P15301MB0021: 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)(61425038)(6040450)(2401047)(8121501046)(5005006)(10201501046)(3002001)(93006095)(93001095)(100000703101)(100105400095)(6055026)(61426038)(61427038)(6041248)(20161123558100)(20161123560025)(20161123564025)(20161123555025)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:KL1P15301MB0021;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:KL1P15301MB0021; x-forefront-prvs: 04180B6720 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(39860400002)(47760400005)(24454002)(189002)(377454003)(199003)(3280700002)(8936002)(81156014)(8990500004)(2950100002)(74316002)(81166006)(54356999)(76176999)(50986999)(5005710100001)(3660700001)(77096006)(10290500003)(478600001)(305945005)(8676002)(54906002)(6436002)(55016002)(53936002)(4326008)(6506006)(68736007)(25786009)(101416001)(2906002)(229853002)(106356001)(105586002)(7736002)(9686003)(10090500001)(33656002)(6246003)(189998001)(102836003)(14454004)(3846002)(5660300001)(6116002)(7696004)(97736004)(53546010)(66066001)(7416002)(86362001)(93886005)(2900100001)(86612001);DIR:OUT;SFP:1102;SCL:1;SRVR:KL1P15301MB0021;H:KL1P15301MB0008.APCP153.PROD.OUTLOOK.COM;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Sep 2017 06:25:29.8056 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1P15301MB0021 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 quoted-printable to 8bit by nfs id v826Q2SN015278 Content-Length: 1358 Lines: 32 > From: Stefan Hajnoczi [mailto:stefanha@redhat.com] > Sent: Thursday, August 31, 2017 4:55 AM > ... > 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. I understand. Thank you both for sharing the details about the plan! > 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 I regret I won't be there this year. Thanks, -- Dexuan