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

Method max_vcpus

vmm/src/cpu.rs:1646–1648  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

1644 }
1645
1646 pub fn max_vcpus(&self) -> u32 {
1647 self.config.max_vcpus
1648 }
1649
1650 #[cfg(target_arch = "x86_64")]
1651 pub fn common_cpuid(&self) -> Vec<CpuIdEntry> {

Callers 2

create_ppttMethod · 0.80
init_tdx_if_enabledMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected