Re: VHOST_NET_SET_BACKEND

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

 



On Wed, Oct 6, 2010 at 7:43 AM, devi thapa <devi.thapa@xxxxxxxxx> wrote:
>       I dont know how to put this question, but bear with me.   My
> query is how to invoke the ioctl request "VHOST_NET_SET_BACKEND"  or
> how to set the backend, and when ?

Look at the QEMU side vhost-net code:
http://git.qemu.org/qemu.git/tree/hw/vhost_net.c#n145

Where does the backend fd come from?  It's the host network device
file descriptor that gets fetched by vhost_net_get_fd().  Currently it
must be a tap device file descriptor.

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