(
bdf: String,
companion_bdfs: Vec<String>,
sysfs: SysfsRoot,
vfio_id: Option<String>,
)
| 104 | } |
| 105 | |
| 106 | pub(crate) fn new_armed( |
| 107 | bdf: String, |
| 108 | companion_bdfs: Vec<String>, |
| 109 | sysfs: SysfsRoot, |
| 110 | vfio_id: Option<String>, |
| 111 | ) -> Self { |
| 112 | Self { |
| 113 | bdf, |
| 114 | companion_bdfs, |
| 115 | sysfs, |
| 116 | disarmed: false, |
| 117 | vfio_id, |
| 118 | } |
| 119 | } |
| 120 | |
| 121 | /// Deregister the cached vfio-pci match-table entry, then restore the |
| 122 | /// device to its host driver. |
nothing calls this directly
no outgoing calls
no test coverage detected