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

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

 



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


--
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