• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

NVIDIA / nvrc / 47197229729
98%

Build:
DEFAULT BRANCH: main
Ran 03 Dec 2026 08:34PM UTC
Jobs 1
Files 24
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

03 Dec 2026 08:33PM UTC coverage: 97.822% (+0.09%) from 97.733%
47197229729

push

github

zvonkok
daemon: add IMEX support

On GBx00 and VRx00 platforms, OS instances in an NVLink domain share
GPU memory through IMEX. Each node runs the IMEX daemon, nvidia-imex.
NVRC does not start it. A VM in a multi-node IMEX domain cannot share
fabric memory with the other nodes.

nvrc.imex=on starts nvidia-imex. It is off by default.

nvidia-imex runs on every compute node of an IMEX domain. The domain is
the set of NVLink-connected nodes in the node list. It can span several
VMs. NVRC copies the IMEX config from the gpu extension, or from the
rootfs without one, to /run. It sets DAEMONIZE=0. The health check then
tracks the daemon itself. IMEX_NODE_CONFIG_FILE points at the node list
next to the config. nvidia-imex starts with -c on the copy. Init fails
if the config or the node list is missing.

NVRC also sets LOG_USE_SYSLOG=1. The guest has no /dev/stderr. With
LOG_FILE_NAME=/dev/stderr, nvidia-imex creates a regular file in
devtmpfs. NVRC forwards syslog to kmsg. Init waits up to 120 seconds
for the line GPU event successfully subscribed.

nvidia.ko loads with NVreg_CreateImexChannel0=1. The driver creates no
IMEX channel by default. Without one, CUDA fabric memory calls fail
with insufficient permission. Channel allocations must match on every
node of a domain. Each node that boots NVRC with nvrc.imex=on creates
channel 0.

A GPU's NVLink peers can be in other VMs of the domain. With
nvrc.imex=on, nvidia.ko keeps NVLink enabled on a lone GPU.

nvidia-ctk cdi generate --mode=imex --class=imex-channel writes
/var/run/cdi/nvidia-imex.yaml. /var/run/cdi/nvidia.yaml does not
include IMEX channels. A container that uses fabric memory requests
nvidia.com/imex-channel=0. nvidia-ctk takes the CDI class from --class
in every mode, gpu by default. With the default, the channel collides
with nvidia.com/gpu=0 of the GPU spec.

Signed-off-by: Jocelyn Berrendonner <jocelynb@microsoft.com>
Assisted-by: GitHub Copilot

155 of 159 new or added lines in 4 files covered. (97.48%)

2829 of 2892 relevant lines covered (97.82%)

11.9 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
97.14
0.48% src/modprobe.rs
1
97.27
0.49% src/daemon.rs
Jobs
ID Job ID Ran Files Coverage
1 47197229729.1 03 Dec 2026 08:34PM UTC 24
97.82
GitHub Action Run
Source Files on build 47197229729
  • Tree
  • List 24
  • Changed 5
  • Source Changed 5
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #47197229729
  • ad51fc8b on github
  • Prev Build on main (#46915083177)
  • Next Build on main (#47253758206)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc