xen/shim: allow DomU to have as many vcpus as available
authorRoger Pau Monne <roger.pau@citrix.com>
Thu, 11 Jan 2018 11:41:21 +0000 (11:41 +0000)
committerWei Liu <wei.liu2@citrix.com>
Tue, 16 Jan 2018 18:34:05 +0000 (18:34 +0000)
commit62269fdcd49b20f7e49594dc97c163d282f3ccb2
treee4adcaf62ba78e5c7c8fd088b50b8bbf61110253
parent96332997037c7125157fe1d025310360ce0a9281
xen/shim: allow DomU to have as many vcpus as available

Since the shim VCPUOP_{up/down} hypercall is wired to the plug/unplug
of CPUs to the shim itself, start the shim DomU with only the BSP
online, and let the guest bring up other CPUs as it needs them.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
xen/arch/x86/dom0_build.c
xen/arch/x86/pv/dom0_build.c
xen/arch/x86/setup.c