libnvme_set_privsep(9) libnvme API manual libnvme_set_privsep(9)

libnvme_set_privsep - Open devices through the helper

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

struct libnvme_global_ctx object
Helper channel or NULL to open devices directly

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