aboutsummaryrefslogtreecommitdiffstats
path: root/vhost_loopback.h
diff options
context:
space:
mode:
authorTimos Ampelikiotis <t.ampelikiotis@virtualopensystems.com>2022-11-25 13:39:49 +0100
committerAngelos Mouzakitis <a.mouzakitis@virtualopensystems.com>2023-10-03 15:18:54 +0300
commite6d6621bced8b62dc9f98a09870b527535cbb158 (patch)
treea0779840e12602ad199e4ee45a7976e89e39b129 /vhost_loopback.h
parenta3fcee5911bf760f9f4522e94cb9e6ab22a7eb95 (diff)
Virtio-loopback-adapter Beta version:
- Build a single virtio-loopback-adapter binary - Mmap the vrings with dynamic defined size - Add set_mem_table mechanism (Not used into this release) Signed-off-by: Timos Ampelikiotis <t.ampelikiotis@virtualopensystems.com>
Diffstat (limited to 'vhost_loopback.h')
-rw-r--r--vhost_loopback.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/vhost_loopback.h b/vhost_loopback.h
index 69a3f0d..b73caeb 100644
--- a/vhost_loopback.h
+++ b/vhost_loopback.h
@@ -58,6 +58,8 @@ int vhost_dev_get_inflight(struct vhost_dev *dev, uint16_t queue_size,
int vhost_dev_set_inflight(struct vhost_dev *dev,
struct vhost_inflight *inflight);
+void update_mem_table(VirtIODevice *vdev);
+
struct vhost_inflight {
int fd;