Home
last modified time | relevance | path

Searched refs:VcpuAffinity (Results 1 – 4 of 4) sorted by relevance

/external/crosvm/src/
Dcrosvm.rs22 use arch::{Pstore, SerialHardware, SerialParameters, VcpuAffinity};
201 pub vcpu_affinity: Option<VcpuAffinity>,
Dmain.rs21 VcpuAffinity,
125 fn parse_cpu_affinity(s: &str) -> argument::Result<VcpuAffinity> { in parse_cpu_affinity() argument
150 Ok(VcpuAffinity::PerVcpu(affinity_map)) in parse_cpu_affinity()
152 Ok(VcpuAffinity::Global(parse_cpu_set(s)?)) in parse_cpu_affinity()
2472 VcpuAffinity::Global(vec![0, 5, 6, 7, 9]), in parse_cpu_affinity_global()
2485 VcpuAffinity::PerVcpu(expected_map), in parse_cpu_affinity_per_vcpu_one_to_one()
2497 VcpuAffinity::PerVcpu(expected_map), in parse_cpu_affinity_per_vcpu_sets()
Dlinux.rs67 self, LinuxArch, RunnableLinuxVm, SerialHardware, SerialParameters, VcpuAffinity,
2875 Some(VcpuAffinity::Global(v)) => v, in run_control()
2876 Some(VcpuAffinity::PerVcpu(mut m)) => m.remove(&cpu_id).unwrap_or_default(), in run_control()
/external/crosvm/arch/src/
Dlib.rs65 pub enum VcpuAffinity { enum
80 pub vcpu_affinity: Option<VcpuAffinity>,
106 pub vcpu_affinity: Option<VcpuAffinity>,