From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean-Philippe Menil Subject: Re: Test vhost-net !! Date: Sat, 09 Apr 2011 18:28:11 +0200 Message-ID: <4DA0891B.60302@univ-nantes.fr> References: <4D9D68E7.2010206@univ-nantes.fr> <4DA06C64.4010709@shiftmail.org> Reply-To: jean-philippe.menil@univ-nantes.fr Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Onkar Mahajan , kvm@vger.kernel.org To: Asdo Return-path: Received: from smtp-tls1.univ-nantes.fr ([193.52.101.145]:51980 "EHLO smtp-tls.univ-nantes.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754739Ab1DIQXz (ORCPT ); Sat, 9 Apr 2011 12:23:55 -0400 In-Reply-To: <4DA06C64.4010709@shiftmail.org> Sender: kvm-owner@vger.kernel.org List-ID: Le 09/04/2011 16:25, Asdo a =E9crit : > On 04/07/2011 09:33 AM, Jean-Philippe Menil wrote: >> Le 07/04/2011 09:18, Onkar Mahajan a =E9crit : >>> Hi , >>> How do I test if vhost-net is actually enabled and working ? H= i, >>> ... >> >> you must modprobe the vhost_net module on your host: >> ... >> and you need to pass "vhost-on" on your command line: >> http://www.linux-kvm.org/page/VhostNet >> ... >> Regards. >> > > Are you really able to make vhost_net work? > > I compiled from source KVM 0.13.0 and recently also 0.14.0 on intel x= eon > 54xx and 56xx, on newly installed Ubuntu with vanilla kernel 2.6.37, = and > when I tried to enable vhost_net (modprobe the module then restart KV= M) > the emulation was going 100x slower than normal, so I had to disable = it. > See my old message in this ML "vhost disables kvm acceleration" > > What did you do to make it work? Did you compile KVM from sources? On > what kernel? AMD or Intel? > Also, are you not using libvirt maybe? > > Thank you > > -- > To unsubscribe from this list: send the line "unsubscribe kvm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html Hmm, something must be wrong in your configuration. I use successfully vhost_net module on 2.6.38 with qemu-kvm 0.14.0=20 compiled from sources. Run fine on amd, must run fine on intel too. If you use libvirt, you must restart the libvirt dameon after modprobe=20 the vhost_net module, otherwise libvirt don't append the vhost=3Don par= ameter. Can you provide your command line? and what guest are you running? --=20 Jean-Philippe Menil - P=F4le r=E9seau Service IRTS DSI Universit=E9 de Nantes jean-philippe.menil@univ-nantes.fr Tel : 02.53.48.49.27 - Fax : 02.53.48.49.09