aboutgitcodebugslistschat
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2025-02-02 20:49:58 +0100
committerStefano Brivio <sbrivio@redhat.com>2025-02-03 22:42:28 +0100
commitb75ad159e8a13a10ce1fb4b86503636420da126d (patch)
tree74a53d0be29fa723c0a7d655f860e351be6d54ee
parent722d347c1932f630a53ba05ea0270a651ed601b2 (diff)
downloadpasst-b75ad159e8a13a10ce1fb4b86503636420da126d.tar
passt-b75ad159e8a13a10ce1fb4b86503636420da126d.tar.gz
passt-b75ad159e8a13a10ce1fb4b86503636420da126d.tar.bz2
passt-b75ad159e8a13a10ce1fb4b86503636420da126d.tar.lz
passt-b75ad159e8a13a10ce1fb4b86503636420da126d.tar.xz
passt-b75ad159e8a13a10ce1fb4b86503636420da126d.tar.zst
passt-b75ad159e8a13a10ce1fb4b86503636420da126d.zip
vhost_user: On 32-bit ARM, mmap() is not available, mmap2() is used instead
Link: https://buildd.debian.org/status/fetch.php?pkg=passt&arch=armel&ver=0.0%7Egit20250121.4f2c8e7-1&stamp=1737477467&raw=0 Link: https://buildd.debian.org/status/fetch.php?pkg=passt&arch=armhf&ver=0.0%7Egit20250121.4f2c8e7-1&stamp=1737477421&raw=0 Fixes: 31117b27c6c9 ("vhost-user: introduce vhost-user API") Signed-off-by: Stefano Brivio <sbrivio@redhat.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
-rw-r--r--vhost_user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vhost_user.c b/vhost_user.c
index bbbf504..58baee2 100644
--- a/vhost_user.c
+++ b/vhost_user.c
@@ -419,7 +419,7 @@ static bool map_ring(struct vu_dev *vdev, struct vu_virtq *vq)
*
* Return: False as no reply is requested
*
- * #syscalls:vu mmap munmap
+ * #syscalls:vu mmap|mmap2 munmap
*/
static bool vu_set_mem_table_exec(struct vu_dev *vdev,
struct vhost_user_msg *msg)