-
Notifications
You must be signed in to change notification settings - Fork 347
Create device nodes #976
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Create device nodes #976
Conversation
This change attempts to load the nvidia, nvidia-uvm, and nvidia-modeset kernel modules before generating the automatic (jit) CDI specification. The kernel modules can be controlled by the nvidia-container-runtime.modes.jit-cdi.load-kernel-modules config option. If this is set to the empty list, then no kernel modules are loaded. Errors in loading the kernel modules are logged, but ignored. Signed-off-by: Evan Lezar <[email protected]>
Signed-off-by: Evan Lezar <[email protected]>
Signed-off-by: Evan Lezar <[email protected]>
Signed-off-by: Evan Lezar <[email protected]>
f15db29
to
00ddf82
Compare
00ddf82
to
7426080
Compare
Signed-off-by: Evan Lezar <[email protected]>
7426080
to
1cfaef4
Compare
Signed-off-by: Evan Lezar <[email protected]>
Signed-off-by: Evan Lezar <[email protected]>
Signed-off-by: Evan Lezar <[email protected]>
7452e40
to
6996089
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just 2 minor comments, I'll run a manual test now
@@ -125,3 +128,20 @@ func xdgDataDirs() []string { | |||
|
|||
return []string{"/usr/local/share", "/usr/share"} | |||
} | |||
|
|||
// LoadKmods loads the specified kernel modules in the driver root. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// LoadKmods loads the specified kernel modules in the driver root. | |
// LoadKernelModules loads the specified kernel modules in the driver root. |
|
||
// MigCap represents the path to a MIG cap file | ||
// MigMinor represents the minor number of a MIG device |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we have consistency on the // doc
I see for Index we have // A VarName
but for the rest we use the regular // VarName
We have found that with the current |
No description provided.