]> Git Repo - qemu.git/commit - hw/virtio/vhost.c
Add vhost-backend and VhostBackendType
authorNikolay Nikolaev <[email protected]>
Tue, 27 May 2014 12:05:49 +0000 (15:05 +0300)
committerMichael S. Tsirkin <[email protected]>
Thu, 19 Jun 2014 13:41:56 +0000 (16:41 +0300)
commit1a1bfac9ee13d76a4b257431cc4193c8a42efa19
tree47c0d93e3931a6992f5835c5d292533e931789bf
parent24d1eb33eb2ccd995a845a4d4b793e2619a9e460
Add vhost-backend and VhostBackendType

Use vhost_set_backend_type to initialise a proper vhost_ops structure.
In vhost_net_init and vhost_net_start_one call conditionally TAP related
initialisation depending on the vhost backend type.

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/Makefile.objs
hw/virtio/vhost-backend.c [new file with mode: 0644]
hw/virtio/vhost.c
include/hw/virtio/vhost-backend.h
include/hw/virtio/vhost.h
include/net/vhost_net.h
net/tap.c
This page took 0.029758 seconds and 4 git commands to generate.