All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jean-Philippe Menil <jean-philippe.menil@univ-nantes.fr>
To: Asdo <asdo@shiftmail.org>
Cc: Onkar Mahajan <kern.devel@gmail.com>, kvm@vger.kernel.org
Subject: Re: Test vhost-net !!
Date: Sat, 09 Apr 2011 18:28:11 +0200	[thread overview]
Message-ID: <4DA0891B.60302@univ-nantes.fr> (raw)
In-Reply-To: <4DA06C64.4010709@shiftmail.org>

Le 09/04/2011 16:25, Asdo a écrit :
> On 04/07/2011 09:33 AM, Jean-Philippe Menil wrote:
>> Le 07/04/2011 09:18, Onkar Mahajan a écrit :
>>> Hi ,
>>>      How do I test if vhost-net is actually enabled and working ? Hi,
>>> ...
>>
>> 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 xeon
> 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 KVM)
> 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 
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 
the vhost_net module, otherwise libvirt don't append the vhost=on parameter.

Can you provide your command line? and what guest are you running?

-- 
Jean-Philippe Menil - Pôle réseau Service IRTS
DSI Université de Nantes
jean-philippe.menil@univ-nantes.fr
Tel : 02.53.48.49.27 - Fax : 02.53.48.49.09

      reply	other threads:[~2011-04-09 16:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-07  7:18 Test vhost-net !! Onkar Mahajan
2011-04-07  7:33 ` Jean-Philippe Menil
2011-04-09 14:25   ` Asdo
2011-04-09 16:28     ` Jean-Philippe Menil [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DA0891B.60302@univ-nantes.fr \
    --to=jean-philippe.menil@univ-nantes.fr \
    --cc=asdo@shiftmail.org \
    --cc=kern.devel@gmail.com \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.