From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from paradis.irqsave.net (LPuteaux-656-1-25-125.w80-12.abo.wanadoo.fr [80.12.84.125]) by dpdk.org (Postfix) with ESMTP id 260896831 for ; Tue, 27 Jan 2015 17:59:57 +0100 (CET) Received: from irqsave.net (laure.irqsave.net [192.168.77.2]) by paradis.irqsave.net (Postfix) with ESMTP id EF57311154D; Tue, 27 Jan 2015 17:59:56 +0100 (CET) Date: Tue, 27 Jan 2015 17:59:56 +0100 From: =?iso-8859-1?Q?Beno=EEt?= Canet To: "Xie, Huawei" Message-ID: <20150127165956.GC21462@irqsave.net> References: <20150127141036.GA21462@irqsave.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] vhost user examples X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2015 16:59:57 -0000 The Tuesday 27 Jan 2015 à 16:33:19 (+0000), Xie, Huawei wrote : > > > -----Original Message----- > > From: Benoît Canet [mailto:benoit.canet@irqsave.net] > > Sent: Tuesday, January 27, 2015 10:11 PM > > To: Xie, Huawei; dev@dpdk.org > > Subject: vhost user examples > > > > > > Hi Xie, > > > > I would be interested in alpha testing the vhost user patchset. > > > > Is there an up to date example of how to use it ? > > > > vHost has a parameter called base_name. Temporarily you could specify --base-name as > the unix domain socket path, and set it in the qemu command line as socket path. > recommended qemu command line for memory and vhost configuration: > -m $MEM -object memory-backend-file,id=mem,size=${MEM}M,mem-path=/mnt/huge,share=on -numa node,memdev=mem -mem-prealloc > -chardev socket,id=char0,path=$sock_path -netdev type=vhost-user,id=mynet1,chardev=char0,vhostforce \ > -device virtio-net-pci,mac=52:54:00:12:34:11,netdev=mynet1 Thanks, Is the upstream vhost example in master already patched for this ? Or does it still required some patches ? Best regards Benoît > > > Best regards > > > > Benoît