From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42406) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZcYaE-00049C-PB for qemu-devel@nongnu.org; Thu, 17 Sep 2015 08:46:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZcYa9-0003dX-QW for qemu-devel@nongnu.org; Thu, 17 Sep 2015 08:46:38 -0400 Received: from sender163-mail.zoho.com ([74.201.84.163]:25319) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZcYa9-0003dJ-IQ for qemu-devel@nongnu.org; Thu, 17 Sep 2015 08:46:33 -0400 Date: Thu, 17 Sep 2015 09:46:27 -0300 From: Flavio Leitner Message-ID: <20150917124627.GA2192@x240.home> References: <55F1DF37.6090702@redhat.com> <20150916174418.GA2212@x240.home> <55FA9124.7020606@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <55FA9124.7020606@redhat.com> Subject: Re: [Qemu-devel] [wiki] New wiki page - vhost-user setup with ovs/dpdk backend List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Marcel Apfelbaum Cc: qemu list On Thu, Sep 17, 2015 at 01:08:36PM +0300, Marcel Apfelbaum wrote: > On 09/16/2015 08:44 PM, Flavio Leitner wrote: > >On Thu, Sep 10, 2015 at 10:51:19PM +0300, Marcel Apfelbaum wrote: > >>Hi, > >> > >>The page describes how to setup an environment that allows testing/developing > >>vhost-user using ovs (with dpdk) as backend. > >> > >>A regular pc machine can be used, no need for several hosts, a 'dpdk enabled' NIC or 1G huge-pages. > >> > >>The goal is to connect guests' virtio-net devices having vhost-user backend to OVS dpdkvhostuser ports > >>and be able to run any kind of network traffic between them. > >> > >>The page can be found at: > >>http://wiki.qemu.org/Features/vhost-user-ovs-dpdk > >> > >>I want to keep it as simple as possible. > >>If you see steps that can be skipped or unneeded configuration please let me know > >>or feel free to update the page. > > > >I gave a quick look and found couple issues. It seems to be missing > >the installing steps for qemu. Also the eventfd_link module is only > >needed for vhost-cuse, so you don't need to build/install/load at all. > Hi Flavio, > Thank you for reviewing the document! > > For some reason I thought we still need eventfd_link to notify the guests > when new packets arrive. Indeed we don't need this anymore, I updated the wiki page. We use the one provided by kernel. The eventfd_link on DPDK is special for vhost-cuse: https://github.com/openvswitch/ovs/blob/master/INSTALL.DPDK.md#dpdk-vhost-cuse-prerequisites > Regarding QEMU, can you please point me to the missing setup steps? > (I think I already took care of them, anyway I want to be sure) Yup, I missed that you are running qemu from the builddir, not from the system, so you don't need to install it. Thanks again, fbl