libnvmf_generate_hostnqn_from_hostid(9) libnvme API manual libnvmf_generate_hostnqn_from_hostid(9)

libnvmf_generate_hostnqn_from_hostid - Generate a host nqn from host identifier

char * libnvmf_generate_hostnqn_from_hostid (struct libnvme_global_ctx *ctx , char *hostid );

struct libnvme_global_ctx object
Host identifier

If hostid is NULL, the function generates it based on the machine identifier.

On success, an NVMe Qualified Name for host identification. This name is based on the given host identifier. On failure, NULL.

libnvmf_generate_hostnqn_from_hostid September 2026