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

Method default_cpus

test_infra/src/lib.rs:2054–2056  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

2052 }
2053
2054 pub fn default_cpus(&mut self) -> &mut Self {
2055 self.args(["--cpus", self.guest.default_cpus_string().as_str()])
2056 }
2057
2058 pub fn default_cpus_with_affinity(&mut self) -> &mut Self {
2059 // Only support cpu affinity for 2 VCPUs for now,

Calls 2

argsMethod · 0.80
default_cpus_stringMethod · 0.80