Re: [PATCHv4 6/6] qemu-kvm: vhost-net implementation

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

 



On Wed, Nov 04, 2009 at 04:22:07PM -0800, Sridhar Samudrala wrote:
> On Tue, 2009-11-03 at 00:24 +0200, Michael S. Tsirkin wrote:
> > This adds support for vhost-net virtio kernel backend.
> > 
> > This patch is not intended to being merged yet.
> > I'm posting it for the benefit of people testing
> > the backend.
> > 
> > Usage instructions:
> > vhost currently requires MSI-X support in guest virtio.
> > This means guests kernel version should be >= 2.6.31.
> > 
> > To enable vhost, simply add ",vhost" flag to nic options.
> > Example with tap backend:
> > qemu-system-x86_64 -m 1G disk-c.qcow2 \
> > -net tap,ifname=msttap0,script=/home/mst/ifup,downscript=no \
> >  -net nic,model=virtio,vhost
> > 
> > Example with raw socket backend:
> > ifconfig eth3 promisc
> > qemu-system-x86_64 -m 1G disk-c.qcow2 \
> > -net raw,ifname=eth3 \
> >  -net nic,model=virtio,vhost
> 
> As the vhost is a backend feature, i think the 'vhost' flag should
> be added to the -net tap or -net raw option rather than the -net nic
> which specifies the guest options.
> 
> Thanks
> Sridhar

Yes.

-- 
MST
_______________________________________________
Virtualization mailing list
Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/virtualization

[Index of Archives]     [KVM Development]     [Libvirt Development]     [Libvirt Users]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux