arm: do not set max_vcpus = 8 in arch_domain_create.
authorIan Campbell <ian.campbell@citrix.com>
Tue, 26 Jun 2012 15:23:54 +0000 (16:23 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 26 Jun 2012 15:23:54 +0000 (16:23 +0100)
commitaa25a619d37b332446cb93828f9ac26160fa239d
treed694e592400968877ee832187f4b69ed8f185c5a
parent400b3acd20cac38502bc2652630a40aacfe47a25
arm: do not set max_vcpus = 8 in arch_domain_create.

XEN_DOMCTL_max_vcpus cannot reduce max_vcpus and therefore we can't create a
smaller guest.

The limit of 8 (due to GIC limits) should be expressed in MAX_VIRT_CPUS.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/domain.c
xen/include/asm-arm/config.h