diff options
| author | Marc-André Lureau | 2016-10-18 11:24:04 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin | 2016-12-16 00:14:38 +0100 |
| commit | 7b2e5c65f42fff7a418e2b8216e92f5e0a0c3e7e (patch) | |
| tree | e2346f2a340d3023d2ef6e64326a4c17c74b43e8 /contrib/libvhost-user/Makefile.objs | |
| parent | tests/vhost-user-bridge: do not accept more than one connection (diff) | |
| download | qemu-7b2e5c65f42fff7a418e2b8216e92f5e0a0c3e7e.tar.gz qemu-7b2e5c65f42fff7a418e2b8216e92f5e0a0c3e7e.tar.xz qemu-7b2e5c65f42fff7a418e2b8216e92f5e0a0c3e7e.zip | |
contrib: add libvhost-user
Add a library to help implementing vhost-user backend (or slave).
Dealing with vhost-user as an application developer isn't so easy: you
have all the trouble with any protocol: validation, unix ancillary data,
shared memory, eventfd, logging, and on top of that you need to deal
with virtio queues, if possible efficiently.
qemu test has a nice vhost-user testing application vhost-user-bridge,
which implements most of vhost-user, and virtio.c which implements
virtqueues manipulation. Based on these two, I tried to make a simple
library, reusable for tests or development of new vhost-user scenarios.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
[Felipe: set used_idx copy on SET_VRING_ADDR and update shadow avail idx
on SET_VRING_BASE]
Signed-off-by: Felipe Franciosi <felipe@nutanix.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'contrib/libvhost-user/Makefile.objs')
| -rw-r--r-- | contrib/libvhost-user/Makefile.objs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/libvhost-user/Makefile.objs b/contrib/libvhost-user/Makefile.objs new file mode 100644 index 0000000000..cef1ad6e31 --- /dev/null +++ b/contrib/libvhost-user/Makefile.objs @@ -0,0 +1 @@ +libvhost-user-obj-y = libvhost-user.o |
