]> git.proxmox.com Git - mirror_qemu.git/commit
Add new vhost-user netdev backend
authorNikolay Nikolaev <n.nikolaev@virtualopensystems.com>
Tue, 27 May 2014 12:06:29 +0000 (15:06 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 19 Jun 2014 13:41:57 +0000 (16:41 +0300)
commitd314f586b3c5f8be243efb02c3944e327d4e11a7
tree3f1a850a10947f55644c7765cbe3021c7c9ed7af
parent5f4c01cab1abcb25d627600a7efb6ac0f804c2dc
Add new vhost-user netdev backend

Add a new QEMU netdev backend that is intended to invoke vhost_net with the
vhost-user backend. It uses an Unix socket chardev to establish a
communication with the 'slave' (client and server mode supported).

At runtime the netdev will handle OPEN/CLOSE events from the chardev. Upon
disconnection it will set link_down accordingly and notify virtio-net; the
virtio-net interface will go down.

Signed-off-by: Antonios Motakis <a.motakis@virtualopensystems.com>
Signed-off-by: Nikolay Nikolaev <n.nikolaev@virtualopensystems.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
include/net/vhost-user.h [new file with mode: 0644]
net/Makefile.objs
net/clients.h
net/vhost-user.c [new file with mode: 0644]