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

Method default_cpus_string

test_infra/src/lib.rs:1746–1752  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

1744 }
1745
1746 pub fn default_cpus_string(&self) -> String {
1747 format!(
1748 "boot={}{}",
1749 self.num_cpu,
1750 if self.nested { "" } else { ",nested=off" }
1751 )
1752 }
1753
1754 pub fn default_cpus_with_affinity_string(&self) -> String {
1755 format!(

Callers 1

default_cpusMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected