From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3B34642D91; Fri, 30 Jun 2023 03:37:03 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BDA2A4021F; Fri, 30 Jun 2023 03:37:02 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 7BB6A40150 for ; Fri, 30 Jun 2023 03:37:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1688089021; x=1719625021; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=4TP46tgzqOBG09wDpVRSa33cPUr2sza6CVbono71GWo=; b=HX1Uzqpt6RQQftHv9WNJ0Kryg5b1HmJ5jwzEW+Wstrabw8rSD6RG/lxh g3+aU7IoiuUKxWk9lsQtYS39RLINUCeZ1oTbf7ZiZzuE5JipQZZfzNNDM o4dJLObMACXqCiSeS734e5uzKyfJZ2iMX7tTm2icd9TVTMTWJ9zvqy1Xh GkccScm75u42EpAUW+uhukz/fBuGawrFyoRkavZqZ4OdQDIu2h1RCF45W 4WE/dTVpNvYTIUm1EsD3cPJYT5t3+DmFnZcrBOSCYMA7ySCXVI5QooCVc Ou/dSSCjsFtJ/3HwhauOc7K6xCdV2Ubiti8wwwL7pOzWpbGfYulSppbtZ g==; X-IronPort-AV: E=McAfee;i="6600,9927,10756"; a="359758852" X-IronPort-AV: E=Sophos;i="6.01,169,1684825200"; d="scan'208";a="359758852" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Jun 2023 18:36:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10756"; a="720774037" X-IronPort-AV: E=Sophos;i="6.01,169,1684825200"; d="scan'208";a="720774037" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga007.fm.intel.com with ESMTP; 29 Jun 2023 18:36:59 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Thu, 29 Jun 2023 18:36:58 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Thu, 29 Jun 2023 18:36:58 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27 via Frontend Transport; Thu, 29 Jun 2023 18:36:58 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.172) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.27; Thu, 29 Jun 2023 18:36:57 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Di4Z3E/DtC1u0Sh+1kYwLSSasFgMB83c3V4Wlom4ev/lrpJ1KDgohJP0G3gLhLGHBa1oJ5H5Qv/s6fG8HeRrJqf8RlfmQ8ZNcs6OkPEtW/esV02b6ypT5lZB/+S0xPUD1R4fbtlApFvdo3f/8ynlM9h4MIB7bs0sz+r4d8it0oRV/h4Lnx+tIqF1MTNX8Jgh9ehY5vFAe+LGWnfd8b+4hSbU71bCE55m0k87EbFadoIKkki+/uc+/lVFALUQPIo4CVYrjIP00+ad06lpWDKeOCO12g0KYDjfgqtIoR2gXQgWA0WI4+OSxTIqWXRo6f6VVmcNc9i35p/isUnrUva37g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=4TP46tgzqOBG09wDpVRSa33cPUr2sza6CVbono71GWo=; b=CqRz7srzbJQpE0Z09TQCgaeWfqUlBlYJzoPbpUhCh/Fj2kW0zjWKuEUQwE7FXJghP2VX7QkH4EgHuz2lbg0ITJEoMPiij3aMpnbO03TM/PRmT2rGb21hpWvEFgLsckRYNuHh3kRrMnenHf7qxSDX3kcqR/5US+0XUcO4w6lfyvaynCVtwWhPvBu7QP+WPhZqef0O4PMf/6WYA35KNhskrIR8uQZWtJoc0fjwRb9vmZ+x9LuulIeTvStRlf4+jLif6B47740eEKFhaNydrACtjsYIGpkWBKHLbu6eBwJLECZspErBw7CiUjakQ4gtkyHGwdJvYrPcewAFVdw9UAuhYQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from SN6PR11MB3504.namprd11.prod.outlook.com (2603:10b6:805:d0::17) by CH0PR11MB5564.namprd11.prod.outlook.com (2603:10b6:610:d7::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6521.24; Fri, 30 Jun 2023 01:36:56 +0000 Received: from SN6PR11MB3504.namprd11.prod.outlook.com ([fe80::e508:44ff:3d34:60bc]) by SN6PR11MB3504.namprd11.prod.outlook.com ([fe80::e508:44ff:3d34:60bc%4]) with mapi id 15.20.6521.024; Fri, 30 Jun 2023 01:36:56 +0000 From: "Xia, Chenbo" To: Stephen Hemminger , Thanos Makatos CC: David Marchand , dev , "Thomas Monjalon" , "Liang, Cunming" , "Lu, Xiuchun" , "Li, Miao" , "Wu, Jingjing" , "john.g.johnson@oracle.com" , Stefan Hajnoczi , Marc-Andre Lureau , Maxime Coquelin , Swapnil Ingle , "John Levon" , "Liu, Changpeng" , Jagannathan Raman , Elena Ufimtseva Subject: RE: [dpdk-dev] [PATCH 0/9] Introduce vfio-user library Thread-Topic: [dpdk-dev] [PATCH 0/9] Introduce vfio-user library Thread-Index: AQHZqqTDBpbhE3ZxAUun06lGGLFiGK+ikM+g Date: Fri, 30 Jun 2023 01:36:55 +0000 Message-ID: References: <20201218073851.93609-1-chenbo.xia@intel.com> <20230629091024.09d98250@hermes.local> In-Reply-To: <20230629091024.09d98250@hermes.local> Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SN6PR11MB3504:EE_|CH0PR11MB5564:EE_ x-ms-office365-filtering-correlation-id: 3196e368-e1af-4644-b82b-08db790a7cdf x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: KJmrwpVNHH1IBLDJzYi0m9K84XLv8iXE0V0IyS2L4r2pSINUZwIUnLTt0PZBQxnpZwfLhcV1iiZxPrNPJj8AXRyjIqlLU/44HgRQAxWWHNTDYot5sXuCWalMGrazVEex3G/fxBgNNakEIxoNeBhoYEd8Pq3dY06pzZAnxd2V3ypFDxT7XMBq0T0MR+949W5Bd3kS6bHBKkRIE75gHF7fXqIJeGxFayupBkJJAe30WPyXZjorlhE0kTOfxAOO0HxIay9KGX6Cr0e+n/WtDvxvbZvyG/3E8G5Nle5mQUbIS+OEEVVS7E7yZ5Eb3103tWu95Zw5KZbVWwrEUgaqVFi3D3luct5FafCkUDUnqcsVll9PNyYIKCZBcvhTyhiNVQwcWXDpi1FWkHH0JYSc5K16FL+64dAMmRWczu9hZHL0dejpr9p9JasxmWV1cq9yyvz5GwbBuCoTVyuw1Z05Bhd3XcLp+XesPAqDM8Ngx9dGSaX6gmQ+LSraxN0joGyyK1oSbsyZN6kYU2OfKCDqEfvNnRvs/+IicybZNI/tlZYW9DuWp8c6RT4fZS7KmgWHzPk92HkdlmV3QvODPYj2u9Hqfpv8YrTToZ5vK2d5Ke/sl8M= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN6PR11MB3504.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(136003)(346002)(366004)(376002)(39860400002)(396003)(451199021)(76116006)(186003)(2906002)(66476007)(66446008)(5660300002)(26005)(82960400001)(55016003)(7696005)(7416002)(33656002)(316002)(54906003)(8676002)(86362001)(966005)(478600001)(110136005)(4326008)(122000001)(38070700005)(38100700002)(9686003)(71200400001)(52536014)(66946007)(41300700001)(64756008)(66556008)(8936002)(83380400001)(6506007)(53546011); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?H/SeplsTH7olWhKcWAsOLVHzEJEPASzgBgJopqaVGin0sqT5RtQZOsEBgQMX?= =?us-ascii?Q?XMIFBictemw5UIlV8mOi2ZKJCApnzBuJg47G/dBnaFdd8AzZH92JQ8ILoaez?= =?us-ascii?Q?2COFqZYQjgx2l/Ry71+77oxq2B5U30PnudqvxZL4UBUAND7Ycu5UwPhZ6knE?= =?us-ascii?Q?OVd+eTdO2MCjJsGJWE1IO9uI6nhG42rDx1JAOZ89OOENzf0Y2LarzEMQyyRA?= =?us-ascii?Q?2tP+uPxSUqPh6BD/V6c+8czNX7gtM7hv0hisq+B76HeldIP0dJsxUeCfqkfY?= =?us-ascii?Q?oHRfvsEq2BmZbppR8p4izedd+Xh3GizN8g3Cdn2GAYpp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RTVHeusoSJA+AK1GGgZKCHama3LY37T4IinrqqFyQBEPiDnziNajz/?= =?us-ascii?Q?kCqhX/E15K642B8bbtjuX4nVFv9zA2d0vD7Fw0K7+YVABdSDTRqCa5E3aORn?= =?us-ascii?Q?4norpvho5EHhmDGwisGw9DFssSWTyuL9ABMiLVGF7SjDhqHTpxaPk6ButQoG?= =?us-ascii?Q?fTRnUxeVBa0/lRo67PQA3ysZ9K/J/M3LC2updbldZO7cYkVzF+S96WdgURaf?= =?us-ascii?Q?NV8kvHwyiQL9M8nqzSMsb6q/uLEdCOn/NYvFKDy6HHuX/2CIJzmxawPc/+uP?= =?us-ascii?Q?VZkJo63SaRJwH/V97y3vBAnxdgGI0HVzDW+gN3QOLcZhkfwqK75/Z7OCURy4?= =?us-ascii?Q?tga7/l2n2NHy1NGUrpejo1/1f9BK8gv6aZjRARRs?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SN6PR11MB3504.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3196e368-e1af-4644-b82b-08db790a7cdf X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jun 2023 01:36:55.4275 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: KUGuvvkG2A7gPYXZPITy3UdKIFdaiFy9w+DhX58veUGX4QPzbhVuhEhbFawdIzKXwOwErUpGjSNuR0P21O/Njg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR11MB5564 X-OriginatorOrg: intel.com X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Hi Stephen, > -----Original Message----- > From: Stephen Hemminger > Sent: Friday, June 30, 2023 12:10 AM > To: Thanos Makatos > Cc: David Marchand ; Xia, Chenbo > ; dev ; Thomas Monjalon > ; Liang, Cunming ; Lu, > Xiuchun ; Li, Miao ; Wu, Jingjin= g > ; john.g.johnson@oracle.com; Stefan Hajnoczi > ; Marc-Andre Lureau ; > Maxime Coquelin ; Swapnil Ingle > ; John Levon ; Liu, > Changpeng ; Jagannathan Raman > ; Elena Ufimtseva > Subject: Re: [dpdk-dev] [PATCH 0/9] Introduce vfio-user library >=20 > On Fri, 18 Dec 2020 14:07:20 +0000 > Thanos Makatos wrote: >=20 > > > Hello, > > > > > > On Fri, Dec 18, 2020 at 8:54 AM Chenbo Xia > wrote: > > > > *librte_vfio_user* library is an implementation of VFIO-over- > socket[1] > > > (also > > > > known as vfio-user) which is a protocol that allows a device to be > virtualized > > > > in a separate process outside of QEMU. > > > > > > What is the status of the specification on QEMU side? > > > Integrating an implementation in DPDK is premature until we have an > > > agreed specification. > > > > We're in the process of reviewing the specification, the latest version > (v7) is here: https://www.mail-archive.com/qemu- > devel@nongnu.org/msg763207.html. We haven't had any reviews yet for that > revision, IMO we're getting close. > > > > FYI John Johnson is implementing the relevant changes in multiprocess > QEMU. John Levon, Swapnil, and I are implementing the server part in > libvfio-user (formerly known as MUSER). We also have a mailing list now: > https://lists.nongnu.org/mailman/listinfo/libvfio-user-devel. We've been > working on integrating the two parts. > > > > Finally, Changpeng is implementing an NVMe controller in SPDK. We're > trying to make it work with multiprocess QEMU and libvfio-user, we're ver= y > close. > > > > >=20 > Any status update? It has been 3 years. > If not ready will change this patchset to state "awaiting upstream". > I.e not ready until QEMU is ready There is already a vfio-user lib in open source: https://github.com/nutanix/libvfio-user So for this lib, we may just use this libvfio-user instead of introducing new one in DPDK, but we will still submit patches about emulating devices in DPDK. Thanks, Chenbo