Searched refs:dmi_path (Results 1 – 6 of 6) sorted by relevance
226 let mut dmi_path = PathBuf::from(path); in setup_smbios_from_file() localVariable227 dmi_path.push("DMI"); in setup_smbios_from_file()231 .open(&dmi_path) in setup_smbios_from_file()287 pub fn setup_smbios(mem: &GuestMemory, dmi_path: Option<PathBuf>) -> Result<()> { in setup_smbios()288 if let Some(dmi_path) = dmi_path { in setup_smbios()289 return setup_smbios_from_file(mem, &dmi_path); in setup_smbios()
467 smbios::setup_smbios(&mem, components.dmi_path).map_err(Error::SetupSmbios)?; in build_vm()
266 pub dmi_path: Option<PathBuf>, field342 dmi_path: None, in default()
1734 if cfg.dmi_path.is_some() { in set_argument()1739 let dmi_path = PathBuf::from(value.unwrap()); in set_argument() localVariable1740 if !dmi_path.exists() { in set_argument()1746 if !dmi_path.is_dir() { in set_argument()1752 cfg.dmi_path = Some(dmi_path); in set_argument()
2363 dmi_path: cfg.dmi_path.clone(), in setup_vm_components()
94 pub dmi_path: Option<PathBuf>, field