diff options
author | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2010-10-26 12:28:33 -0400 |
---|---|---|
committer | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2010-10-26 15:33:15 -0400 |
commit | ea5b8f73933e34d2b47a65284c46d26d49e7edb9 (patch) | |
tree | 0c7a4b44dc46d2dc66ac6822fde3bf9f12f14bbc /include/xen | |
parent | 0e058e527784a9a23f7ed7a73ffafebb53a889da (diff) |
xen: initialize cpu masks for pv guests in xen_smp_init
Pv guests don't have ACPI and need the cpu masks to be set
correctly as early as possible so we call xen_fill_possible_map from
xen_smp_init.
On the other hand the initial domain supports ACPI so in this case we skip
xen_fill_possible_map and rely on it. However Xen might limit the number
of cpus usable by the domain, so we filter those masks during smp
initialization using the VCPUOP_is_up hypercall.
It is important that the filtering is done before
xen_setup_vcpu_info_placement.
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'include/xen')
0 files changed, 0 insertions, 0 deletions