Scroll to navigation

libnvme_set_privsep(2) libnvme API manual libnvme_set_privsep(2)

NAME

libnvme_set_privsep - Open devices through the helper

SYNOPSIS

void libnvme_set_privsep (struct libnvme_global_ctx *ctx , struct libnvme_privsep *ps );

ARGUMENTS

struct libnvme_global_ctx object
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.

libnvme_set_privsep October 2026