libnvme\_set\_privsep(9) libnvme API manual libnvme\_set\_privsep(9)

# [NAME](#NAME)

libnvme\_set\_privsep - Open devices through the helper

# [SYNOPSIS](#SYNOPSIS)

**void libnvme\_set\_privsep** **(struct libnvme\_global\_ctx \*ctx ,** **struct libnvme\_privsep \*ps );**

# [ARGUMENTS](#ARGUMENTS)

[ctx](#ctx)

*struct libnvme\_global\_ctx* object

[ps](#ps)

Helper channel or NULL to open devices directly

# [DESCRIPTION](#DESCRIPTION)

**libnvme\_open** on *ctx* returns transport handles which forward the commands to the helper. MI endpoints are not affected. Several contexts can share one helper channel. The channel must outlive the contexts and their transport handles. Commands on one channel must not be issued concurrently.

libnvme\_set\_privsep October 2026

---

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