From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hemant Agrawal Subject: Re: [PATCH v3] examples/vhost: introduce a new vhost-user-scsi sample application Date: Fri, 7 Jul 2017 14:10:57 +0530 Message-ID: <0d8dbc6e-c6b3-4c75-18e7-5874f640f517@nxp.com> References: <1499487291-17053-1-git-send-email-changpeng.liu@intel.com> <1499491297-17800-1-git-send-email-changpeng.liu@intel.com> <20170707050734.GW11626@yliu-home> Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit Cc: To: Yuanhan Liu , Changpeng Liu Return-path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0056.outbound.protection.outlook.com [104.47.36.56]) by dpdk.org (Postfix) with ESMTP id DB43C2BFF for ; Fri, 7 Jul 2017 10:41:07 +0200 (CEST) In-Reply-To: <20170707050734.GW11626@yliu-home> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 7/7/2017 10:37 AM, Yuanhan Liu wrote: > On Sat, Jul 08, 2017 at 01:21:37PM +0800, Changpeng Liu wrote: >> vhost-user protocol is common to many virtio devices, such as >> virtio_net/virtio_scsi/virtio_blk. Since DPDK vhost library >> removed the NET specific data structures, the vhost library >> is common to other virtio devices, such as virtio-scsi. >> >> Here we introduce a simple memory based block device that >> can be presented to Guest VM through vhost-user-scsi-pci >> controller. Similar with vhost-net, the sample application >> will process the I/Os sent via virt rings. >> >> Signed-off-by: Changpeng Liu > > Applied to dpdk-next-virtio. > Though my comment is late. I am just wondering if it is not better to refactor the existing vhost applications and add this as a mode instead of adding one more sample application? > Thanks. > > --yliu >