nvme_get_log_host_discover2
Retrieve host discovery log
Usage
int nvme_get_log_host_discover (int fd , bool allhoste , bool rae , __u32 len , struct nvme_host_discover_log *log );
Arguments
fd
|
File descriptor of nvme device |
|---|---|
allhoste
|
All host entries |
rae
|
Retain asynchronous events |
len
|
The allocated length of the log page |
log
|
User address to store the log page |
Return
The nvme command status if a response was received (see enum nvme_status_field) or -1 with errno set otherwise