nvme\_init\_get\_features\_host\_id(9) libnvme API manual nvme\_init\_get\_features\_host\_id(9)

# [NAME](#NAME)

nvme\_init\_get\_features\_host\_id - Initialize passthru command for Get Features - Host Identifier

# [SYNOPSIS](#SYNOPSIS)

**void nvme\_init\_get\_features\_host\_id** **(struct libnvme\_passthru\_cmd \*cmd ,** **enum nvme\_get\_features\_sel sel ,** **bool exhid ,** **void \*hostid ,** **\_\_u32 len );**

# [ARGUMENTS](#ARGUMENTS)

[cmd](#cmd)

Passthru command to use

[sel](#sel)

Select which type of attribute to return, see *enum nvme\_get\_features\_sel*

[exhid](#exhid)

Enable Extended Host Identifier

[hostid](#hostid)

Buffer for returned host ID

[len](#len)

Length of *hostid*

# [DESCRIPTION](#DESCRIPTION)

Initializes the passthru command buffer for the Get Features command with FID value NVME\_FEAT\_FID\_HOST\_ID

nvme\_init\_get\_features\_host\_id October 2026

---

Document: nvme_init_get_features_host_id-libnvme3(2) from nvme-cli 3.2-r0 (Chainguard OS)
Source: https://github.com/linux-nvme/nvme-cli
