MCPcopy Create free account
hub / github.com/cloud-hypervisor/cloud-hypervisor / default_options

Function default_options

block/src/factory.rs:216–226  ·  view source on GitHub ↗
(path: &Path)

Source from the content-addressed store, hash-verified

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() {

Callers 4

detect_raw_imageFunction · 0.85
detect_qcow2_imageFunction · 0.85
open_readonlyFunction · 0.85

Calls

no outgoing calls

Tested by 4

detect_raw_imageFunction · 0.68
detect_qcow2_imageFunction · 0.68
open_readonlyFunction · 0.68