MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / clear_driver_override

Method clear_driver_override

crates/openshell-vfio/src/sysfs.rs:142–144  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

140 }
141
142 pub(crate) fn clear_driver_override(&self) -> Result<(), VfioError> {
143 write_sysfs(&self.driver_override_path(), "\n")
144 }
145
146 pub(crate) fn driver_unbind_path(&self) -> PathBuf {
147 self.file("driver/unbind")

Callers 3

reconcile_stale_bindingsFunction · 0.80
cleanup_partial_bindFunction · 0.80

Calls 2

write_sysfsFunction · 0.85
driver_override_pathMethod · 0.80

Tested by

no test coverage detected