Skip to content

Skip nvidia-cdi-hook's disable-device-node-modification hook.#13309

Merged
copybara-service[bot] merged 1 commit into
masterfrom
test/cl922924116
May 28, 2026
Merged

Skip nvidia-cdi-hook's disable-device-node-modification hook.#13309
copybara-service[bot] merged 1 commit into
masterfrom
test/cl922924116

Conversation

@copybara-service
Copy link
Copy Markdown

Skip nvidia-cdi-hook's disable-device-node-modification hook.

The hook effectively overrides the /proc/driver/nvidia/params setting of
ModifyDeviceFiles: 1 to 0. gVisor already emulates that hook in
nvproxy.Register() by applying the same override to the virtualized
/proc/driver/nvidia/params file exposed to the application.

Fixes #13283

@copybara-service copybara-service Bot added the exported Issue was exported automatically label May 28, 2026
@a7i
Copy link
Copy Markdown
Contributor

a7i commented May 28, 2026

Thanks @ayushr2 🥇

The hook effectively overrides the `/proc/driver/nvidia/params` setting of
`ModifyDeviceFiles: 1` to `0`. gVisor already emulates that hook in
nvproxy.Register() by applying the same override to the virtualized
`/proc/driver/nvidia/params` file exposed to the application.

Fixes #13283

PiperOrigin-RevId: 922990855
@copybara-service copybara-service Bot merged commit 8f3bcd0 into master May 28, 2026
0 of 2 checks passed
@copybara-service copybara-service Bot deleted the test/cl922924116 branch May 28, 2026 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

exported Issue was exported automatically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

createContainer hook disable-device-node-modification fails: /proc/driver/nvidia/params not available in containerRootFs (gvisor#13034 follow-up)

2 participants