]> Git Repo - qemu.git/commit - hw/net/vhost_net.c
vhost_net_init will use VhostNetOptions to get all its arguments
authorNikolay Nikolaev <[email protected]>
Tue, 27 May 2014 12:05:22 +0000 (15:05 +0300)
committerMichael S. Tsirkin <[email protected]>
Thu, 19 Jun 2014 13:41:56 +0000 (16:41 +0300)
commit81647a655fa4ff99fd5748363a174edd87a40950
treee13e0fafe22ef7bcd48f9fdf2fbcc04b75ca9966
parented8b4afe5ff290ae119237e4fa2142e9f1832230
vhost_net_init will use VhostNetOptions to get all its arguments

vhost_dev_init will replace devfd and devpath with a single opaque argument.
This is initialised with a file descriptor. When TAP is used (through
vhost_net), open /dev/vhost-net and pass the fd as an opaque parameter in
VhostNetOptions. The same applies to vhost-scsi - open /dev/vhost-scsi and
pass the fd.

Signed-off-by: Antonios Motakis <[email protected]>
Signed-off-by: Nikolay Nikolaev <[email protected]>
Reviewed-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
hw/net/vhost_net.c
hw/scsi/vhost-scsi.c
hw/virtio/vhost.c
include/hw/virtio/vhost.h
include/net/vhost_net.h
net/tap.c
This page took 0.027622 seconds and 4 git commands to generate.