From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?iso-8859-1?Q?Beno=EEt?= Canet Subject: Re: vhost user examples Date: Tue, 27 Jan 2015 17:59:56 +0100 Message-ID: <20150127165956.GC21462@irqsave.net> References: <20150127141036.GA21462@irqsave.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "dev-VfR2kkLFssw@public.gmane.org" To: "Xie, Huawei" Return-path: Content-Disposition: inline In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" The Tuesday 27 Jan 2015 =E0 16:33:19 (+0000), Xie, Huawei wrote : >=20 > > -----Original Message----- > > From: Beno=EEt Canet [mailto:benoit.canet-J9ArbTHlV+bR7s880joybQ@public.gmane.org] > > Sent: Tuesday, January 27, 2015 10:11 PM > > To: Xie, Huawei; dev-VfR2kkLFssw@public.gmane.org > > Subject: vhost user examples > >=20 > >=20 > > Hi Xie, > >=20 > > I would be interested in alpha testing the vhost user patchset. > >=20 > > Is there an up to date example of how to use it ? > >=20 >=20 > 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 soc= ket path. > recommended qemu command line for memory and vhost configuration: > -m $MEM -object memory-backend-file,id=3Dmem,size=3D${MEM}M,mem-path=3D= /mnt/huge,share=3Don -numa node,memdev=3Dmem -mem-prealloc > -chardev socket,id=3Dchar0,path=3D$sock_path -netdev type=3Dvhost-user= ,id=3Dmynet1,chardev=3Dchar0,vhostforce \ > -device virtio-net-pci,mac=3D52:54:00:12:34:11,netdev=3Dmynet1 Thanks, Is the upstream vhost example in master already patched for this ? Or does it still required some patches ? Best regards Beno=EEt >=20 > > Best regards > >=20 > > Beno=EEt