aboutgitcodebugslistschat
path: root/passt.c
diff options
context:
space:
mode:
authorLaurent Vivier <lvivier@redhat.com>2022-11-08 21:16:46 +0100
committerLaurent Vivier <lvivier@redhat.com>2024-03-12 11:54:26 +0100
commitb2229bd24ffc75b2538073958221e1ae82ac0767 (patch)
treebcdcf77747067d557f021476fda1f665ce9513a5 /passt.c
parent45b1403f42b70927ac859cee7c7413d5a596a671 (diff)
downloadpasst-b2229bd24ffc75b2538073958221e1ae82ac0767.tar
passt-b2229bd24ffc75b2538073958221e1ae82ac0767.tar.gz
passt-b2229bd24ffc75b2538073958221e1ae82ac0767.tar.bz2
passt-b2229bd24ffc75b2538073958221e1ae82ac0767.tar.lz
passt-b2229bd24ffc75b2538073958221e1ae82ac0767.tar.xz
passt-b2229bd24ffc75b2538073958221e1ae82ac0767.tar.zst
passt-b2229bd24ffc75b2538073958221e1ae82ac0767.zip
vhost-user: introduce vhost-user API
Add vhost_user.c and vhost_user.h that define the functions needed to implement vhost-user backend. Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Diffstat (limited to 'passt.c')
-rw-r--r--passt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/passt.c b/passt.c
index f3e9dae..7da05c7 100644
--- a/passt.c
+++ b/passt.c
@@ -73,6 +73,8 @@ char *epoll_type_str[] = {
[EPOLL_TYPE_TAP_PASTA] = "/dev/net/tun device",
[EPOLL_TYPE_TAP_PASST] = "connected qemu socket",
[EPOLL_TYPE_TAP_LISTEN] = "listening qemu socket",
+ [EPOLL_TYPE_VHOST_CMD] = "vhost-user command socket",
+ [EPOLL_TYPE_VHOST_KICK] = "vhost-user kick socket",
};
static_assert(ARRAY_SIZE(epoll_type_str) == EPOLL_NUM_TYPES,
"epoll_type_str[] doesn't match enum epoll_type");