---
name: "libnvme_set_privsep-libnvme3"
section: "2"
platform: "linux"
package: "nvme-cli"
version: "3.2-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/libnvme_set_privsep-libnvme3"
---

# libnvme\_set\_privsep-libnvme3(2)

Open devices through the helper

## NAME

libnvme\_set\_privsep - Open devices through the helper

## SYNOPSIS

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

## ARGUMENTS

- ctx

  *struct libnvme\_global\_ctx* object

- ps

  Helper channel or NULL to open devices directly

## 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.
