x86/PVHv2: fix dom0_max_vcpus so it's capped to HVM_MAX_VCPUS for PVHv2 Dom0
authorRoger Pau Monné <roger.pau@citrix.com>
Mon, 13 Feb 2017 14:23:34 +0000 (15:23 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 13 Feb 2017 14:23:34 +0000 (15:23 +0100)
commite1037b514598d02f7c90b9e67c8b634b67cf2cdc
tree095d3635a0186d6b8232f252679d1fc1dbc40068
parenta04c67888829ca549b1382cfb17385e19c6d314d
x86/PVHv2: fix dom0_max_vcpus so it's capped to HVM_MAX_VCPUS for PVHv2 Dom0

PVHv2 Dom0 is limited to 128 vCPUs, as are all HVM guests at the moment. Fix
dom0_max_vcpus so it takes this limitation into account.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/domain_build.c