summaryrefslogtreecommitdiffstats
path: root/src/vnet.am
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2018-06-26 17:20:11 +0200
committerDamjan Marion <dmarion@me.com>2018-07-08 11:21:07 +0000
commite7cde313e1df14ea118386d678c3e47219090a0d (patch)
tree176a72d2d2a9c4dd8ffb42c63ecbaeba6ea5f1bc /src/vnet.am
parent17ff3c1fa5687255a118c53223fa2cd49132d929 (diff)
vhost: Add multi-versioning support
It also refactors the vhost code which was in one big file vhost-user.c. Receive side code is in vhost_user_input.c and Transmit side code is in vhost_user_output.c Change-Id: I1b539b5008685889723e228265786a2a3e9f3a78 Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Diffstat (limited to 'src/vnet.am')
-rw-r--r--src/vnet.am10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/vnet.am b/src/vnet.am
index d6a5d524e53..040a4cd4b6a 100644
--- a/src/vnet.am
+++ b/src/vnet.am
@@ -917,16 +917,22 @@ API_FILES += vnet/pg/pg.api
libvnet_la_SOURCES += \
vnet/devices/virtio/device.c \
vnet/devices/virtio/node.c \
- vnet/devices/virtio/vhost-user.c \
+ vnet/devices/virtio/vhost_user.c \
+ vnet/devices/virtio/vhost_user_input.c \
+ vnet/devices/virtio/vhost_user_output.c \
vnet/devices/virtio/vhost_user_api.c \
vnet/devices/virtio/virtio.c
nobase_include_HEADERS += \
vnet/devices/virtio/virtio.h \
- vnet/devices/virtio/vhost-user.h \
+ vnet/devices/virtio/vhost_user.h \
vnet/devices/virtio/vhost_user.api.h
+libvnet_multiversioning_sources += \
+ vnet/devices/virtio/vhost_user_input.c \
+ vnet/devices/virtio/vhost_user_output.c
+
API_FILES += vnet/devices/virtio/vhost_user.api
########################################