Notes for the flowchart on the use of setaffinity for VM.start
In the flowchart, two code paths are set in bold:
- Show the path when
Host.numa_affinity_policyis the default (off) inxenopsd. - Show the default path of
xc_vcpu_setaffinity(XEN_VCPUAFFINITY_SOFT)in Xen, when the Domain’sauto_node_affinityflag is enabled (default) to show how it changes to the vCPU affinity update the domain’snode_affinityin this default case as well.
xenguest uses the Xenstore to read the static domain configuration that it needs reads to build the domain.