pub fn parse_cpu_affinity(s: &str) -> Result<VcpuAffinity, String>
Expand description

Parse a list of guest to host CPU mappings.

Each mapping consists of a single guest CPU index mapped to one or more host CPUs in the form accepted by CpuSet::from_str:

<GUEST-CPU>=<HOST-CPU-SET>[:<GUEST-CPU>=<HOST-CPU-SET>[:...]]