(tmp_dir: &TempDir)
| 89 | } |
| 90 | |
| 91 | pub(crate) fn temp_api_path(tmp_dir: &TempDir) -> String { |
| 92 | String::from( |
| 93 | tmp_dir |
| 94 | .as_path() |
| 95 | .join("cloud-hypervisor.sock") |
| 96 | .to_str() |
| 97 | .unwrap(), |
| 98 | ) |
| 99 | } |
| 100 | |
| 101 | pub(crate) fn wait_for_virtiofsd_socket(socket: &str) { |
| 102 | // Wait for virtiofds to start |
no outgoing calls
no test coverage detected