mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-25 04:30:02 +00:00
d314f586b3
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>
15 lines
532 B
Makefile
15 lines
532 B
Makefile
common-obj-y = net.o queue.o checksum.o util.o hub.o
|
|
common-obj-y += socket.o
|
|
common-obj-y += dump.o
|
|
common-obj-y += eth.o
|
|
common-obj-$(CONFIG_POSIX) += tap.o vhost-user.o
|
|
common-obj-$(CONFIG_LINUX) += tap-linux.o
|
|
common-obj-$(CONFIG_WIN32) += tap-win32.o
|
|
common-obj-$(CONFIG_BSD) += tap-bsd.o
|
|
common-obj-$(CONFIG_SOLARIS) += tap-solaris.o
|
|
common-obj-$(CONFIG_AIX) += tap-aix.o
|
|
common-obj-$(CONFIG_HAIKU) += tap-haiku.o
|
|
common-obj-$(CONFIG_SLIRP) += slirp.o
|
|
common-obj-$(CONFIG_VDE) += vde.o
|
|
common-obj-$(CONFIG_NETMAP) += netmap.o
|