This is an automated email from the ASF dual-hosted git repository.

GUIDINGLI pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit e5c9ee0eb0643de9bfb0364180f975389a62123a
Author: Bowen Wang <[email protected]>
AuthorDate: Mon Oct 26 21:34:04 2026 +0800

    vhost: add vhost_get_shm_region wrapper
    
    Let vhost drivers query shared memory regions the same way virtio
    drivers do; with rptun the region comes from the vdevNbufferid carveout.
    
    Signed-off-by: Bowen Wang <[email protected]>
---
 include/nuttx/vhost/vhost.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/nuttx/vhost/vhost.h b/include/nuttx/vhost/vhost.h
index da17cde0594..ac0191a5d5c 100644
--- a/include/nuttx/vhost/vhost.h
+++ b/include/nuttx/vhost/vhost.h
@@ -64,6 +64,7 @@
 #define vhost_get_features      virtio_get_features
 #define vhost_read_config       virtio_read_config
 #define vhost_write_config      virtio_write_config
+#define vhost_get_shm_region    virtio_get_shm_region
 
 /* Vhost helper functions */
 

Reply via email to