Re: Test vhost-net !!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxx
Tel : 02.53.48.49.27 - Fax : 02.53.48.49.09
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux