Searched refs:CpuOptions (Results 1 – 2 of 2) sorted by relevance
122 pub struct CpuOptions { struct1612 let res: CpuOptions = from_key_values("").unwrap(); in parse_cpu_opts()1613 assert_eq!(res, CpuOptions::default()); in parse_cpu_opts()1616 let res: CpuOptions = from_key_values("12").unwrap(); in parse_cpu_opts()1619 CpuOptions { in parse_cpu_opts()1625 let res: CpuOptions = from_key_values("num-cores=16").unwrap(); in parse_cpu_opts()1628 CpuOptions { in parse_cpu_opts()1635 let res: CpuOptions = from_key_values("clusters=[[0],[1],[2],[3]]").unwrap(); in parse_cpu_opts()1638 CpuOptions { in parse_cpu_opts()1649 let res: CpuOptions = from_key_values("clusters=[[0-3]]").unwrap(); in parse_cpu_opts()[all …]
95 use crate::crosvm::config::CpuOptions;988 pub cpus: Option<CpuOptions>,