mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 18:21:39 +01:00
CPUs a domains' vcpus can use. The older 'cpu' config option is prepended to the list of cpus to use and will keep the behavior of pinning VCPU0. The cpus option supports ranges and negation, so: cpus = "0-3,5,^1" produces -> [0,2,3,5] The list is circular, so in a domain with the following config: vcpus = 4 cpus = "0,3,7" # Use any of 0, 3, 7 for this domain. would see vcpus 0-3 pinned to cpus 0,3,7,0 respectively. Also, the pin operation is moved before the memory reservation as vcpu to cpu mapping will be helpful for future NUMA work when trying to allocate pages close to the physical cpus being used. An update to the display of cpumap was needed to normalize the cpumap values to the range of possible cpus. I've also included some text for the xmdomain.cfg(5) man page. Signed-off-by: Ryan Harper <ryanh@us.ibm.com>