DOKK / manpages / debian 13 / libnvme-dev / nvme_get_log_host_discover.2.en
nvme_get_log_host_discover(2) libnvme API manual nvme_get_log_host_discover(2)

nvme_get_log_host_discover - Retrieve Host Discovery Log

int nvme_get_log_host_discover (int fd , bool allhoste , bool rae , __u32 len , struct nvme_host_discover_log *log );

File descriptor of nvme device
All host entries
Retain asynchronous events
The allocated length of the log page
User address to store the log page

The nvme command status if a response was received (see enum nvme_status_field) or -1 with errno set otherwise

nvme_get_log_host_discover May 2025