Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/OpenShell
/ class
Method
class
crates/openshell-vfio/src/sysfs.rs:124–126 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
122
}
123
124
pub(crate) fn class(&self) -> Result<String, VfioError> {
125
self.read_trimmed(
"class"
)
126
}
127
128
pub(crate) fn driver_name(&self) -> Option<String> {
129
fs::read_link(self.file(
"driver"
))
Callers
2
probe_host_nvidia_vfio_readiness
Function · 0.80
prepare_gpu_for_passthrough
Function · 0.80
Calls
1
read_trimmed
Method · 0.80
Tested by
no test coverage detected