diff options
author | Laurent Vivier <lvivier@redhat.com> | 2022-11-08 21:16:46 +0100 |
---|---|---|
committer | Laurent Vivier <lvivier@redhat.com> | 2024-03-12 11:54:26 +0100 |
commit | b2229bd24ffc75b2538073958221e1ae82ac0767 (patch) | |
tree | bcdcf77747067d557f021476fda1f665ce9513a5 /passt.c | |
parent | 45b1403f42b70927ac859cee7c7413d5a596a671 (diff) | |
download | passt-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.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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"); |