libnvmf_context_set_hostnqn-libnvme3(2)

libnvmf_context_set_hostnqn-libnvme32

Set host nqn and host id for context

Usage

int libnvmf_context_set_hostnqn (struct libnvmf_context *fctx , const char *hostnqn , const char *hostid );

Arguments

fctx

Fabrics context

hostnqn

Host NQN

hostid

Host identifier

Overview

Sets the host NQN and host ID for the context.

Return

0 on success, negative error code otherwise.

From nvme-cli 3.2-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.