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

Function restore_to_host_driver

crates/openshell-vfio/src/bind.rs:204–206  ·  view source on GitHub ↗

Restore a PCI device from `vfio-pci` back to the host's default driver.

(sysfs: &SysfsRoot, bdf: &str)

Source from the content-addressed store, hash-verified

202
203/// Restore a PCI device from `vfio-pci` back to the host's default driver.
204pub(crate) fn restore_to_host_driver(sysfs: &SysfsRoot, bdf: &str) -> Result<(), VfioError> {
205 restore_to_host_driver_ex(sysfs, bdf, false)
206}
207
208/// Inner restore implementation.
209///

Calls 1