---
name: "nvme_default_host"
section: "2"
platform: "linux"
package: "libnvme-dev"
version: "1.13-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/nvme_default_host"
---

# nvme\_default\_host(2)

Initializes the default host

## NAME

nvme\_default\_host - Initializes the default host

## SYNOPSIS

**nvme\_host\_t nvme\_default\_host** **(nvme\_root\_t r** *);*

## ARGUMENTS

- r

  *nvme\_root\_t* object

## DESCRIPTION

Initializes the default host object based on the hostnqn/hostid values returned by **nvme\_host\_get\_ids** and attaches it to *r*.

## RETURN

*nvme\_host\_t* object
