(path: &Path)
| 214 | use crate::qcow::{QcowFile, RawFile}; |
| 215 | |
| 216 | fn default_options(path: &Path) -> DiskOpenOptions<'_> { |
| 217 | DiskOpenOptions { |
| 218 | path, |
| 219 | readonly: false, |
| 220 | direct: false, |
| 221 | sparse: false, |
| 222 | backing_files: false, |
| 223 | disable_io_uring: true, |
| 224 | disable_aio: true, |
| 225 | } |
| 226 | } |
| 227 | |
| 228 | #[test] |
| 229 | fn nonexistent_path_returns_error() { |
no outgoing calls