(sysfs: &SysfsRoot)
| 60 | } |
| 61 | |
| 62 | pub fn create_new_id_file(sysfs: &SysfsRoot) { |
| 63 | let new_id_path = sysfs.vfio_pci_new_id(); |
| 64 | fs::create_dir_all(new_id_path.parent().unwrap()).unwrap(); |
| 65 | fs::write(new_id_path, "").unwrap(); |
| 66 | } |
no test coverage detected