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

Function default_vcpus

cloud-hypervisor/src/main.rs:128–134  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

126}
127
128fn default_vcpus() -> String {
129 format!(
130 "boot={},max_phys_bits={}",
131 vm_config::DEFAULT_VCPUS,
132 vm_config::DEFAULT_MAX_PHYS_BITS
133 )
134}
135
136fn default_memory() -> String {
137 format!("size={}M", vm_config::DEFAULT_MEMORY_MB)

Callers 1

prepare_default_valuesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected