aboutgitcodebugslistschat
path: root/iov.h
diff options
context:
space:
mode:
authorLaurent Vivier <lvivier@redhat.com>2023-08-24 18:44:52 +0200
committerLaurent Vivier <lvivier@redhat.com>2024-03-12 11:54:26 +0100
commit1bf4abe4021192a4bcd5d400b699552f2a6d5777 (patch)
tree6b7c39bd1213fe6e9fe5e06139f25837b2ed7302 /iov.h
parent37f457a76c8f412a0a2ceb79c77b91eea24ef341 (diff)
downloadpasst-1bf4abe4021192a4bcd5d400b699552f2a6d5777.tar
passt-1bf4abe4021192a4bcd5d400b699552f2a6d5777.tar.gz
passt-1bf4abe4021192a4bcd5d400b699552f2a6d5777.tar.bz2
passt-1bf4abe4021192a4bcd5d400b699552f2a6d5777.tar.lz
passt-1bf4abe4021192a4bcd5d400b699552f2a6d5777.tar.xz
passt-1bf4abe4021192a4bcd5d400b699552f2a6d5777.tar.zst
passt-1bf4abe4021192a4bcd5d400b699552f2a6d5777.zip
vhost-user: use guest buffer directly in vu_handle_tx()
Check the buffer address is correctly in the mmap'ed memory. Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Diffstat (limited to 'iov.h')
-rw-r--r--iov.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/iov.h b/iov.h
index 6058af7..d6327de 100644
--- a/iov.h
+++ b/iov.h
@@ -25,7 +25,4 @@ size_t iov_from_buf(const struct iovec *iov, size_t iov_cnt,
size_t iov_to_buf(const struct iovec *iov, size_t iov_cnt,
size_t offset, void *buf, size_t bytes);
size_t iov_size(const struct iovec *iov, size_t iov_cnt);
-unsigned iov_copy(struct iovec *dst_iov, size_t dst_iov_cnt,
- const struct iovec *iov, size_t iov_cnt,
- size_t offset, size_t bytes);
#endif /* IOVEC_H */