You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Usage: "Specify the path to search for libraries when discovering the entities that should be included in the CDI specification.\n\tNote: This option only applies to CSV mode.",
132
132
Destination: &opts.librarySearchPaths,
133
133
},
134
+
&cli.StringFlag{
135
+
Name: "nvidia-cdi-hook-path",
136
+
Usage: "Specify the path to use for the nvidia-cdi-hook in the generated CDI specification. If this is left empty, the path will be searched.",
137
+
Destination: &opts.nvidiaCDIHookPath,
138
+
},
134
139
&cli.StringFlag{
135
140
Name: "nvidia-ctk-path",
136
-
Usage: "Specify the path to use for the nvidia-ctk in the generated CDI specification. If this is left empty, the path will be searched.",
137
-
Destination: &opts.nvidiaCTKPath,
141
+
Usage: "Specify the path to use for the nvidia-ctk in the generated CDI specification. If this is left empty, the path will be searched. DEPRECATED. Use flag --nvidia-cdi-hook-path instead.",
@@ -87,19 +87,19 @@ func NewGraphicsMountsDiscoverer(logger logger.Interface, driver *root.Driver, n
87
87
88
88
typedrmDevicesByPathstruct {
89
89
None
90
-
logger logger.Interface
91
-
nvidiaCTKPathstring
92
-
devRootstring
93
-
devicesFromDiscover
90
+
loggerlogger.Interface
91
+
nvidiaCDIHookPathstring
92
+
devRootstring
93
+
devicesFromDiscover
94
94
}
95
95
96
96
// newCreateDRMByPathSymlinks creates a discoverer for a hook to create the by-path symlinks for DRM devices discovered by the specified devices discoverer
0 commit comments