mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 21:34:07 +08:00
5051007bfa
Add vhost wrapper macros that map to the corresponding virtio helper functions: - vhost_has_feature: check if a feature is supported - vhost_read_config_member: read a config structure member - vhost_write_config_member: write a config structure member Also include virtio-config.h header to support these macros. Signed-off-by: Yongrong Wang <wangyongrong@xiaomi.com>